[FIX] payment_stripe: regression 98fe5054c2
opw-1939323 closes odoo/odoo#32026 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
@@ -27,7 +27,7 @@ odoo.define('payment_stripe.stripe', function(require) {
|
||||
if (stripeHandler) {
|
||||
return stripeHandler;
|
||||
}
|
||||
stripeHandler = StripeCheckout.configure({
|
||||
var handler = stripeHandler = StripeCheckout.configure({
|
||||
key: $("input[name='stripe_key']").val(),
|
||||
image: $("input[name='stripe_image']").val(),
|
||||
locale: 'auto',
|
||||
@@ -65,7 +65,7 @@ odoo.define('payment_stripe.stripe', function(require) {
|
||||
});
|
||||
},
|
||||
});
|
||||
return stripeHandler;
|
||||
return handler;
|
||||
}
|
||||
|
||||
require('web.dom_ready');
|
||||
|
||||
Reference in New Issue
Block a user