Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

Does anyone else have this issue when trying to configure the PayPal payment method? I have a PayPal Merchant Account, and provided the following to Odoo's PayPal Integration option:

  • API Key
  • Secret Key

So from this perspective I should be all set - so I thought.

However, after inputting this information into Odoo. I receive the following error after trying to "Generate your webhook".


VALIDATION ERROR:
PayPal: The communication with the API failed. Details:


When I try making a test payment on my website, I'm receiving the following error:

PAYMENT PROCESSING FAILED
Odoo Server Error


Any help with this would be greatly appreciated!

Avatar
Opusti

Exact same issue here, any feedback @Odoo?

Same problem for us

Error comes from the following line in the source code

"PayPal: " + _("The communication with the API failed. Details: %s", msg)

Please provide the complete message, that will help identify the issue and resolve it.

Best Answer

Hi all, 

I have experienced the same issue but managed to resolve it on my end. It appears that the Odoo documentation is unclear. 


Please try these steps to configure correctly. Please note I am using sandbox environment. 

  1. Log into the Paypal developer dashboard, you will have 2 sandbox accounts set up automatically. 
    The Merchant (business) and personal (as a Consumer). 
  2. Create an API app for the merchant paypal email address.
  3. The client ID and secret key will be generated. 
  4. Log into paypal using the merchant account credentials (See Sandbox accounts for credentials).
  5. Navigate to Account settings > Website payments to set up the payment data transfer that will generate the Identity Token which we will use as our Webhook ID.


Getting your Client ID and secret key, and the merchant account credentials for Step 4.


To get your Webhook ID


Hope it helps.


Regards,

Audrey Ng

3D Photomation Pty Ltd

Avatar
Opusti
Best Answer

same here

Avatar
Opusti

Error comes from the following line in the source code

"PayPal: " + _("The communication with the API failed. Details: %s", msg)

Please provide the complete message, that will help identify the issue and resolve it.

Related Posts Odgovori Prikazi Aktivnost
2
maj 24
3138
1
avg. 25
362
2
jul. 25
2809
3
jul. 25
627
1
jun. 25
2082