Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only mount card element if payment has not succeeded or been cancelled #765

Merged
merged 1 commit into from
Aug 30, 2019
Merged

Conversation

u01jmg3
Copy link
Contributor

@u01jmg3 u01jmg3 commented Aug 29, 2019

If the user refreshes the page after successfully paying there will be no #card-element to mount to. Equally a cancelled payment requires no card payment. This means we should only mount the card element if payment has not succeeded or been cancelled.

u01jmg3 referenced this pull request Aug 29, 2019
Co-Authored-By: Taylor Otwell <taylor@laravel.com>
@taylorotwell taylorotwell merged commit 79e7be0 into laravel:10.0 Aug 30, 2019
@u01jmg3 u01jmg3 deleted the patch-1 branch August 30, 2019 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants