Resolve CI issues.

This commit is contained in:
Patrick Fic
2021-11-23 14:24:48 -08:00
parent 65402c1420
commit b311a6df53
3 changed files with 9 additions and 12 deletions

View File

@@ -60,9 +60,9 @@ export default function MobilePaymentComponent() {
// it to close the browser payment method collection interface.
ev.complete("success");
// Let Stripe.js handle the rest of the payment flow.
const { error, paymentIntent } = await stripe.confirmCardPayment(
"clientSecret"
);
const {
error, //paymentIntent
} = await stripe.confirmCardPayment("clientSecret");
if (error) {
// The payment failed -- ask your customer for a new payment method.
} else {