diff options
| author | Damien Bouvy <dbo@odoo.com> | 2016-10-28 13:21:04 +0200 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2016-11-18 09:46:37 +0100 |
| commit | 205b5542ca274c2c7dc501b4f30e82e53b45a7bf (patch) | |
| tree | 6352eef8c224061657547434a4152a04ebb63d8c /addons/web/static/src/js/framework | |
| parent | 8e8b7925d233743ad007fa7daf0b1ddb940cdb3a (diff) | |
[FIX] payment_paypal: accept PDT requests on /dpn route
It seems Paypal does not always send the same responses on auto-return
even when PDT is off. Although not reproducible on a Paypal sandbox,
sometimes the system auto-return to /payment/paypal/dpn without any
meaningful POST data. This seems to only happen with new accounts
that use the 'Hermes' web application of Paypal.
The correct thing to do would be to add a new field on the paypal
payment provider for PDT token and make the PDT flow available
to users; but this is a stable branch and this fix is already
sufficiently delicate. This shall be done in master though.
From this revision on, users can then activate PDT on their paypal
account, set the PDT token as an ir.config_parameter value (WITH
GROUP RESTRICTION SET TO ADMIN/SETTINGS GROUP!!!) and the system
will process these requests correctly.
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions
