ExtensionAlipayPayment extension
Properties
-
js
→ _JS
-
no setter
Methods
-
confirmAlipayPayment(String clientSecret, {ConfirmAlipayPaymentData? data, ConfirmAlipayPaymentOptions? options})
→ Future<PaymentIntentResponse>
-
Use stripe.confirmAlipayPayment in the Alipay payment method
creation flow when the customer submits your payment form.
When called, it will confirm the PaymentIntent with data you provide,
and it will automatically redirect the customer to authorize the
transaction. Once authorization is complete, the customer will be
redirected back to your specified return_url.
When you confirm a PaymentIntent, it needs to have an attached
PaymentMethod. In addition to confirming the PaymentIntent,
this method can automatically create and attach a new PaymentMethod
for you. If you have already attached a PaymentMethod you can call
this method without needing to provide any additional data.
These use cases are detailed in the sections that follow.