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

View after success #2

Open
quattrorx7 opened this issue Oct 10, 2019 · 1 comment
Open

View after success #2

quattrorx7 opened this issue Oct 10, 2019 · 1 comment

Comments

@quattrorx7
Copy link

Hi. Are you going to add a feature that will be shown after success? For example now, I have to call Alert after guy paid, so it's not inside of your component and it looks different. Thanks

@whalemare
Copy link
Member

Hi.
I am not sure, that correctly understand your question, but after success you receive PaymentToken object that contain all information about payment.
You can do what you want with this object: send to backend, store or even show alert, how do I am in the sample library.
Showing alert must not be part of library by my opinion. Otherwise, you can do it with alert(...) function

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

No branches or pull requests

2 participants