Skip to content
Permalink
Browse files

[FIX] payment_stripe: regression 98fe505

opw-1939323
  • Loading branch information...
nle-odoo committed Mar 21, 2019
1 parent 3a76d45 commit 875302e618e4621058d069b43360bd0a02cf0b60
Showing with 2 additions and 2 deletions.
  1. +2 −2 addons/payment_stripe/static/src/js/stripe.js
@@ -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');

0 comments on commit 875302e

Please sign in to comment.
You can’t perform that action at this time.