Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
7 ตอบกลับ
2013 มุมมอง

I think I configured my Paypal payment correctly and it is available in the sandbox environment, but when I use the production environment I always get: “Expected an order id to be passed” and “PayPal: The communication with the API failed. details: ” Details: “ or something like that, has anyone experienced this?


อวตาร
ละทิ้ง

Same issue after upgrade to odoo v18

คำตอบที่ดีที่สุด

Hi,

you need to manual setup your PayPal Webhook in Odoo.

You find your Webhook ID here: https://www.paypal.com/businessmanage/preferences/website

Just copy to Odoo and use the PayPal App you used before. Odoo lost the Webhook during migration.


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Same here

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I didn't find webhook url/id in the link you mentioned 

Can you please explain the steps?

Thanks 

อวตาร
ละทิ้ง

It`s in the second section called "Transfer of payment data" -> Identity Token

คำตอบที่ดีที่สุด

I'm having the same issue
Odoo 18, self hosted

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Same error on a fresh install of Odoo 18

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello, 

Same issue here :)

อวตาร
ละทิ้ง