Skip to content

Commit 49afc7b

Browse files
committed
fix
1 parent 9c8fe5d commit 49afc7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/order.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ const config = require('../config')
33
const url = require('url')
44
const util = require('../util')
55

6+
let stripeHandler
67
if (window.StripeCheckout) {
7-
window.StripeCheckout.configure({
8+
stripeHandler = window.StripeCheckout.configure({
89
key: config.stripe,
910
image: config.siteOrigin + '/images/stripe-image.png',
1011
locale: 'auto',

0 commit comments

Comments
 (0)