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
I have implemented Stripe PaymentIntent using JAVA code described here.
I have opened this PaymentSheet in a separate Activity to display the timer above this sheet because I am not able to add any view in the PaymentSheet. I have achieved this by adding a timer view in the activity layout which is opening this PaymentSheet.
Now, I want to close the PaymentSheet programmatically when my timer gets off. I have tried to finish the activity when timer gets off but PaymentSheet keeps open and only the Activity gets finished. There is no method to close PaymentSheet from Stipe SDK.
Stripe react-native SDK is having timeout parameter to close the PaymentSheet but similar thing is not available in the native Android SDK. Reference for react-native
Any idea/suggestion would be appreciated.
The text was updated successfully, but these errors were encountered:
I think Stripe SDK should provide closePaymentSheet() method which will finish the intent and just provide a canceled callback result similar to the close button click of PaymentSheet.
I have implemented Stripe PaymentIntent using JAVA code described here.
I have opened this PaymentSheet in a separate Activity to display the timer above this sheet because I am not able to add any view in the PaymentSheet. I have achieved this by adding a timer view in the activity layout which is opening this PaymentSheet.
Now, I want to close the PaymentSheet programmatically when my timer gets off. I have tried to finish the activity when timer gets off but PaymentSheet keeps open and only the Activity gets finished. There is no method to close PaymentSheet from Stipe SDK.
Stripe react-native SDK is having timeout parameter to close the PaymentSheet but similar thing is not available in the native Android SDK. Reference for react-native
Any idea/suggestion would be appreciated.
The text was updated successfully, but these errors were encountered: