-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
Description
What area is the issue related to?
Checkout Sheet Kit
What version of Checkout Sheet Kit are you using?
3.4.0
Reproducible sample code
Double tapping on Apple Pay makes the app crash
Steps to Reproduce
We're using AcceleratedCheckoutButtons to display the Apple Pay button like this :
AcceleratedCheckoutButtons(cartID: temporaryCartId)
.applePayLabel(.plain)
.wallets([.applePay])
.payWithApplePayButtonStyle(.black)
If you tap real fast multiple time on the Apple Pay button, the ApplePayViewController calls the function func onPress() async { multiple time and the SDK crashes.
Expected Behavior
The app/SDK shouldn't crash
Actual Behavior
The app crashes if you tap multiple time on the Apple Pay button.
Screenshots/Videos/Log output
No response
Storefront domain
fahlo-dev-v2.myshopify.com
Reactions are currently unavailable