-
- Downloads
[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: 1b760a98 Signed-off-by:Nicolas Martinelli (nim) <nim@odoo.com>
Please register or sign in to comment