summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2020-05-26 13:52:07 +0000
committerDamien Bouvy <dbo@odoo.com>2020-08-21 15:11:37 +0000
commit0190b6c4929bd8dee0210f5deb9d17b259b57c64 (patch)
treeae64aeae8f8ee7abe99d73a6d9b5b2d9b7ee2df8 /doc/reference/javascript_reference.rst
parenta0e918796f2994c986abf6d968e4d1282da59982 (diff)
[FIX] payment_paypal: reply nicely to Paypal IPN with unknown reference
If a Paypal account is configured to send IPN notifications to Odoo at the account level (as we officially advise in our doc) and is used in another system than Odoo, transactions from that other system will trigger notifications that gets sent to Odoo with references that are unknown. This tends to generate 500 errors, but Paypal will keep trying to send the same notification over and over; this will cause a lot of errors in logs and could also could Paypal to contact the account owner regarding repeated failure on the IPN endpoints, which is somewhat scary for lambda users. This commit simply ensures that any such payment will not trigger a faulty response (Paypal only accept 200 OK responses), but still keep a trace of it in the logs as a warning. Note that enabling IPN at the account level is not strictly necessary, as transactions sent by Odoo force this behaviour regardless of the setting with the 'notify_url' param. closes odoo/odoo#56323 X-original-commit: e4e4b51e0d97c5dd6afe332bf7c70d8321469a52 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions