diff options
| author | Damien Bouvy <dbo@odoo.com> | 2016-09-12 09:24:38 +0200 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2016-09-12 09:24:38 +0200 |
| commit | 3e4206b4d45061d051ac778bc680c82ea6a9149a (patch) | |
| tree | 83d5f79a2dbc2f6518a44c037c09c2c723f90a2c /addons/web_editor/static/src/xml/snippets.xml | |
| parent | 40691d31f3f57330e31d7e913c8982b7b8d07d64 (diff) | |
[FIX] payment_paypal: accept GET requests for Paypal DPN
Although we have been reluctant to perform this change, a specific
use case can cause customers to be redirect to the Odoo DPN url
with a GET request.
This happens when a Paypal Merchant account has the feature Guest
Checkout active; in that case, a customer can pay without having
a Paypal account (using only his credit card) and will *not* be
subjected to auto-return; as detailed here:
https://www.sandbox.paypal.com/be/cgi-bin/webscr?cmd=p/pop/help-account-optional
Request coming from that payment flow will always trigger a GET
request, causing the customer to be welcomed by a
405 - Method Not allowed
error on the Odoo server. The payment is normally correctly processed
through IPN, so this does not normally causes loss of data; however
this is not a nice way to welcome back your customer right after
they pay you.
Diffstat (limited to 'addons/web_editor/static/src/xml/snippets.xml')
0 files changed, 0 insertions, 0 deletions
