ช่วยเหลือ

0

Why does Paypal sandbox in Odoo 12 return a empty dict after purchasing when Odoo 13 does not?

Avatar
nhatnm

So, I want to do some eCommerce, and install module website sale, set payment acquirers to Paypal and my Paypal sandbox account (in Odoo 13 everything goes so well). But in Odoo 12, my purchase is not automatically invoicing & the payment is not registered.

So, I ran debug mode to module payment_paypal and this thing happened to me:

- In Odoo 13, post data pass to this route "/payment/paypal/dpn" is some complicated dict.

- With Odoo 12, post data is an empty dict.

I think this is the problem, because the next function called is paypal_validate_data(), and it pass post data as a parameter, and do some logic there to return res from False to True.

Has anyone here had the same problem and fixed it? Can I have some experience?

Avatar
Discard