@stigg/react-sdk 4.5.4 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/checkout/CheckoutContainer.d.ts +1 -0
- package/dist/react-sdk.cjs.development.js +3 -1
- package/dist/react-sdk.cjs.development.js.map +1 -1
- package/dist/react-sdk.cjs.production.min.js +1 -1
- package/dist/react-sdk.cjs.production.min.js.map +1 -1
- package/dist/react-sdk.esm.js +3 -1
- package/dist/react-sdk.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/components/checkout/CheckoutContainer.tsx +1 -0
- package/src/components/checkout/steps/payment/stripe/useSubmit.ts +6 -2
|
@@ -11560,7 +11560,8 @@ function useSubmit(_ref) {
|
|
|
11560
11560
|
setWidgetReadOnly = _useCheckoutModel.setWidgetReadOnly;
|
|
11561
11561
|
|
|
11562
11562
|
var _ref2 = checkoutState || {},
|
|
11563
|
-
setupIntentClientSecret = _ref2.setupSecret
|
|
11563
|
+
setupIntentClientSecret = _ref2.setupSecret,
|
|
11564
|
+
customer = _ref2.customer;
|
|
11564
11565
|
|
|
11565
11566
|
var stripe = reactStripeJs.useStripe();
|
|
11566
11567
|
var elements = reactStripeJs.useElements();
|
|
@@ -11679,6 +11680,7 @@ function useSubmit(_ref) {
|
|
|
11679
11680
|
|
|
11680
11681
|
_context2.next = 17;
|
|
11681
11682
|
return onCheckout({
|
|
11683
|
+
customerId: customer.id,
|
|
11682
11684
|
checkoutParams: checkoutParams,
|
|
11683
11685
|
checkoutAction: checkoutAction
|
|
11684
11686
|
});
|