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

cannot pass customer parameter into stripe-checkout element #318

Open
noahsealy opened this issue Jul 2, 2023 · 0 comments
Open

cannot pass customer parameter into stripe-checkout element #318

noahsealy opened this issue Jul 2, 2023 · 0 comments

Comments

@noahsealy
Copy link

I would like to be able to pass the stripe customer id upon Checkout so I can keep track of the customer who is making a payment so that Stripe does not make a new customer each time they pay. There are hacky ways I can do this in my backend, but I'd prefer to be able to send it as a param as you can in the official stripe docs.

For reference, here is the parameter from their checkout docs: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer.

I'd simply like a customer parameter such as the ones listed here: https://docs.vuestripe.com/vue-stripe/stripe-checkout/getting-started#props.

As of now, I am unsure of your specific implementation for these params but I am happy to find out and submit a PR of my own for this as well, just let me know.

Thanks!

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

1 participant