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
Describe the bug
I have added a timeout value for presentPaymentSheet({ timeout: 900s });. When a user opens the payment sheet, locks the screen, and waits for a period exceeding the timeout value, then unlocks the screen, the payment sheet is still available, and the user can proceed with the payment. This behavior violates our business rule. The timeout works correctly when the app is running in the background, but I'm unsure why there's a difference in behavior when the screen is locked.
Im using "@stripe/stripe-react-native": "0.37.2" To Reproduce
Steps to reproduce the behavior:
Set timeout for presentPaymentSheet({ timeout: 900s });
Open payment sheet
Lock the screen
Waiting for after timeout
Unlock the screen
The payment sheet still not closed
Expected behavior
The payment sheet should be closed after timeout when use lock the screen
Smartphone (please complete the following information):
Device: Iphone, Android
OS: IOS, Android
The text was updated successfully, but these errors were encountered:
Describe the bug
I have added a timeout value for presentPaymentSheet({ timeout: 900s });. When a user opens the payment sheet, locks the screen, and waits for a period exceeding the timeout value, then unlocks the screen, the payment sheet is still available, and the user can proceed with the payment. This behavior violates our business rule. The timeout works correctly when the app is running in the background, but I'm unsure why there's a difference in behavior when the screen is locked.
Im using "@stripe/stripe-react-native": "0.37.2"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The payment sheet should be closed after timeout when use lock the screen
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: