summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2019-09-19 10:31:07 +0000
committerfw-bot <otis@odoo.com>2019-09-20 12:42:09 +0000
commit7807bc854eaf68ca3ec723d2eb694e886565fd39 (patch)
tree8a5196a13f5c913084126ccc21921420a6906368 /addons/web/static/src/js/views/basic/basic_controller.js
parent1067f3bda2957ff696f4dd6f8cc454e2b87b56b9 (diff)
[FIX] payment_stripe_sca: on-the-fly customer conversion
Payment tokens created before the installation of this module and that used the Charge API did not need to keep the card reference on Odoo's side - since we were allowed by the API to simply specify a customer reference when creating a charge and it would take the default one for that customer. Odoo creates one customer per payment token (even if it's the same partner), so there was no uncertainty there. Now, with the PaymentIntent API, the payment method reference is mandatory. We have a field to keep it in db, but this info needs to be retrieved for tokens created before the module's installation. This fix introduces that remote call. closes odoo/odoo#37206 X-original-commit: 1b760a988fdf7bbc08b92e0705929d5620356a2f Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions