Express Payment buttons are frozen when cancelling Apply Pay popup #192
Labels
priority: low
The issue/PR is low priority—not many people are affected or there’s a workaround, etc.
type: bug
The issue is a confirmed bug.
Describe the bug
This issue came out of PR #188
When there are no cards in Apple Wallet, when you click on Apple Pay it shows a popup that suggests either adding a card or cancel the flow. If cancelled, the express payment buttons are in a frozen state.
This is because when the button is clicked, it tokenizes:
but when cancelled, this line should ideally return false or throw an exception, which it doesn't.
So we don't have a way to unfreeze the buttons by detecting the flow has been cancelled.
This may be a bug in Safari or the SDK.
To reproduce
Screenshots
Expected behavior
The express payment buttons should not be frozen after clicking "Cancel" on the Apple Pay popup.
The text was updated successfully, but these errors were encountered: