-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Provide confirmation callback #54
Comments
Hi @zedrdave is this "confirmation" going to happen before opening the stripe checkout? |
@jofftiquez Yes. It could be a warning about what is being purchased, for example… |
@zedrdave if so, why not just create a separate confirmation process before actually invoking |
Something like this. |
Yes, that would probably work. I hadn't realised the |
Since the $checkout mixin was removed, it doesn't seem possible to add any pre-confirmation code to the checkout button (e.g. displaying a confirm dialog warning about something).
Ideal solution would be to add a
:confirm
option that takes a callback function and cancels the checkout onfalse
…The text was updated successfully, but these errors were encountered: