You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var intent = await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: paymentMethodParams,
);
if (intent.status == PaymentIntentsStatus.RequiresAction) {
// Should I add extra handling for any status returned?
}
I wonder, do I need to handle any intent statuses if the status != PaymentIntentsStatus.Successs?
From what I see on the source code I need to call handleNextAction if the status == PaymentIntentsStatus.RequiresAction, but it is not described in the documentation and I am not sure how other statuses should be handled. Can you provide some examples or references to where this is described?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am adding card payment in an app:
I wonder, do I need to handle any intent statuses if the
status != PaymentIntentsStatus.Successs
?From what I see on the source code I need to call
handleNextAction
if thestatus == PaymentIntentsStatus.RequiresAction
, but it is not described in the documentation and I am not sure how other statuses should be handled. Can you provide some examples or references to where this is described?Beta Was this translation helpful? Give feedback.
All reactions