#drewskiwin

1 messages · Page 1 of 1 (latest)

ancient sedgeBOT
dull pasture
#

Hello! You can use a Payment Method with a Payment Intent and not specify a Customer if the Payment Method you use isn't attached to a Customer.

#

Likewise, you can create a Payment Intent and specify a Customer and not specify a Payment Method.

glad crystal
#

Gotcha I see, but it IS required if the payment method does belong to a customer. Otherwise we can short circuit to just using the customer id.

dull pasture
#

What do you mean by short circuit?

#

If you want to use a specific Payment Method that's attached to a Customer you need to specify both the Customer ID and the Payment Method ID on the Payment Intent.

glad crystal
#

Thanks for the clarification, docs don't explicitly mention that but good error messages always help lol.

ancient sedgeBOT