@funnelsgrove/payments 0.1.15 → 0.1.16
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.
|
@@ -220,7 +220,6 @@ function SharedStripeCheckoutV2Form({ amountCents, buttonColor, cardSubmitLabel,
|
|
|
220
220
|
const result = await checkoutState.checkout.confirm({
|
|
221
221
|
email: syncedEmail || undefined,
|
|
222
222
|
redirect: 'if_required',
|
|
223
|
-
returnUrl,
|
|
224
223
|
});
|
|
225
224
|
if (result.type === 'error') {
|
|
226
225
|
const message = result.error.message || 'Payment failed.';
|
|
@@ -70,7 +70,6 @@ export function StripeCheckoutExpressCheckoutButton({ beforeConfirm, returnUrl,
|
|
|
70
70
|
email: preparedCustomerEmail || (customerEmail === null || customerEmail === void 0 ? void 0 : customerEmail.trim()) || undefined,
|
|
71
71
|
expressCheckoutConfirmEvent: event,
|
|
72
72
|
redirect: 'if_required',
|
|
73
|
-
returnUrl,
|
|
74
73
|
});
|
|
75
74
|
if (result.type === 'error') {
|
|
76
75
|
const message = result.error.message || 'Wallet checkout failed.';
|