#lozzy.

1 messages · Page 1 of 1 (latest)

teal spokeBOT
kind marsh
#

Hi
It's not required to pass a Customer with Setupintent

#

you can use it without passing a Customer

finite island
#

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?

kind marsh
#

you will not be able to use that token for payments.
Do you have a failure requestId for this ?

finite island
#

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.

kind marsh
#

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

finite island
#

Okay so you only need customer id if you would like to reuse the token? This includes recurring payments?

kind marsh
#

Yes and one time payments too

finite island
#

Okay, The token that is returned when you do not send customer. What is that token used for?

kind marsh
teal spokeBOT
finite island
#

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?

inland loom
#

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.

finite island
#

by token I mean, setupIntentID

#

Okay got it

inland loom
#

Let me know if you have other questions!

finite island
#

Will do