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

Multiple stripe accounts #103

Open
michaeljonsampson opened this issue Apr 4, 2018 · 2 comments · May be fixed by #111
Open

Multiple stripe accounts #103

michaeljonsampson opened this issue Apr 4, 2018 · 2 comments · May be fixed by #111

Comments

@michaeljonsampson
Copy link

I have a single page app.

Users can create their own registration form with their stripe payment keys.

If one of my users navigates from one form to another the first set of payment keys are applied to the second. The two payment buttons are not on the page at the same time.

Refreshing the page fixes the issue, but it is really bad for me to have the wrong account credited with the payment.

I think this component might need to clear some stripe data on unmount.

@michaeljonsampson
Copy link
Author

Just found the reconfigureOnUpdate prop.

@michaeljonsampson
Copy link
Author

michaeljonsampson commented Apr 4, 2018

I'm going to reopen this issue because reconfigureOnUpdate triggers updates way too often. Would make more sense to just update when key changes, and not worry about reconfigureOnUpdate prop at all. I'll see if I can put together a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant