861290ce40282f3c53b59f7035c2747f6dea1ca7
Steps to reproduce: 1. Activate Stripe and at least two payment methods 2. Click on the first pm 3. Click on the second pm 3. Select again the first one and try to pay The bug was caused by reinstantiation of stripeJS for each payment method. So that each stripe element was created from different stripeJS object which raised the following error from Stripe: "Invalid value for stripe.confirmPayment(): the 'elements' provided was created by a different Stripe instance. Please use the same Stripe instance to create the 'elements' and call stripe.confirmPayment()" After this commit StripeJS object is instantiated only once. closes odoo/odoo#141247 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%