Resolve CI issues.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user