Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

Check if status is available before accessing it #5

Closed

Conversation

smakosh
Copy link

@smakosh smakosh commented Oct 11, 2020

Details

The page crashes when an intent is being created as payment.status is not available, I added a check before accessing it but I had to remove the check if payment status equals one of those given status to disable the button, maybe simply disable on submission and re-enable it when the form is submitted?

@smakosh smakosh closed this Mar 12, 2021
@smakosh smakosh deleted the fix/check-payment-status branch March 12, 2021 08:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant