#Dastan4you
1 messages · Page 1 of 1 (latest)
Is there any handler all callback which i can use for running custom function after user press "Confirm payment"?
I couldn't find anyone in doc
Need to know is actually that real? As i understand i cant handle anything after stripe SDK opening payment popup
Let me check.
Appreciated
So you want something to happen after the customer clicks the button, but before payment logic is executed? Or after everything?
Yes, at the moment when user press button, but before payment logic
Are you using PaymentSheet?
Yes, presentPaymentSheet method with previous configuration
Not seeing any kind of callback param on the presentPaymentSheet function: https://stripe.dev/stripe-react-native/api-reference/index.html#presentPaymentSheet
Documentation for @stripe/stripe-react-native
What kind of logic are you actioning?
i have some order in my app, it has some expiration time. And i need to check before payment is it expired or not
But anyway its not critical so i appreciated for your time and help!
What do you mean by an expired payment? Payment Intents don't expire