summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorOlivier Dony <odo@odoo.com>2018-03-08 17:11:12 +0100
committerOlivier Dony <odo@odoo.com>2018-03-08 17:11:12 +0100
commit9b1009cd5a324b41e90a8d9bc5d412e45b43fc57 (patch)
tree888b46343aed655c47e436960db65b2120711bc9 /addons/web/static
parentc3769b2290df8e9635d2ceed4f05f1ef528e0c22 (diff)
[FIX] payment_ogone: fix handling of validation tx
The validation transactions introduced in 7d428c871bae3c721acdeacd0f00855846499e34 were not working properly for Ogone, due to several problems: - The refund requests when being sent via the orderdirect.asp API, which does not support refunding previous transactions, according to the Ingenico helpdesk. It only support creating independent refund transactions, which is something that requires special pre-approval from the payment acquirer, and generally not permitted. In order to cancel/refund a previous transaction, the direct maintenance API must be used instead[1]. - Maintenance requests to refund a previous transaction fully should use the RFS code, as explained in the API documentation [1], and should always mention the PAYID of the refunded transaction. - Such maintenance requests must always be SHA-signed, as usual. - The various transaction status codes for refunded transactions need to be taken into account as well (typically those beginning with 8) This commit fixes these various problems. [1] https://payment-services.ingenico.com/int/en/ogone/support/guides/integration%20guides/directlink (5.2 Direct Maintenance)
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions