#lozzy.
1 messages · Page 1 of 1 (latest)
Hi
It's not required to pass a Customer with Setupintent
you can use it without passing a Customer
That's what I thought, but I was told that if you generate a token without the parameter 'customer', you will not be able to use that token for payments.
A token generated from SetupIntent can be used for payments with the 'customer' parameter?
you will not be able to use that token for payments.
Do you have a failure requestId for this ?
No, I was told by my project manager that the token generated without 'customer' cannot be used for payments. I believe he got this information from Stripe. Which I find hard to believe.
Why you want to use SetupIntent without a customer ?
You can create a SetupIntent and collect payment method without a customer
but in order to re-use that payment method in the future you need to attach it to a customer
Or simply create a SetupIntent with a customer from the beginning
Okay so you only need customer id if you would like to reuse the token? This includes recurring payments?
Yes and one time payments too
Okay, The token that is returned when you do not send customer. What is that token used for?
What token are you referrring to ?
In order to save payment method using SetupIntent I invite you to refer to this complete guide:
https://stripe.com/docs/payments/save-and-reuse?platform=web
You mentioned that the token returned from SetupIntent can be used for payments if customer parameter is provided.
My question is, what can the token returned without customer parameter be used for?
Hi! I'm taking over this thread.
What do you mean by "token" exactly? If you use a SetupIntent, it will create a PaymentMethod for you, that you can then re-use to create a PaymentIntent and charge customers.
Let me know if you have other questions!
Will do