summaryrefslogtreecommitdiff
path: root/addons/auth_oauth
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2020-05-13 14:16:48 +0000
committerDamien Bouvy <dbo@odoo.com>2020-05-14 13:39:51 +0000
commit1ecdaa349188d11aab5211f2c8ffce99b4c7b09a (patch)
tree311959b1d65d53e640c4eb26661c8f3c21c9cc75 /addons/auth_oauth
parentf5e0727ca5d52d97dbe222623102895251fc763a (diff)
[FIX] payment_stripe: fix ideal fiximp
Revision 29b3b67a16 introduced payment with iDeal but accidentaly introduced an issue where some payments did not go through (in fact, some cards could not be saved, preventing the payment to occur). This fix prevents this issue from happening by clearly differentiating between returns from the Checkout process and from the Elements process; in the case of a Checkout flow, the 'card' key is always present in the data dict but can be equal to None if a non-card payment method was used (e.g. iDeal) while in the case of an Elements (payment from Odoo) flow, the 'data' key is never present and the card information has to be downloaded using a get request to the Stripe API. opw-2253269 closes odoo/odoo#51269 X-original-commit: f0ba15cda070e968699cf77ac0ba58234dbdaf51 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Diffstat (limited to 'addons/auth_oauth')
0 files changed, 0 insertions, 0 deletions