#matt.b-customer-pms
1 messages · Page 1 of 1 (latest)
you can attach multiple PMs to a customer yes, and also yes to the second question (typically you show the PaymentMethods to the customer so they pick one for a payment)
Thanks for reaching out @strong bolt
One other question is that how can the card be used multiple times for kind of future payments?
I have one card attached to the customer and the card can be used multiple times without setting up payment method
when you use PaymentIntents, you have to pass a payment_method: parameter. So you just pass one.
Can we use multiple payment methods for payment intents api purpose?
So the problem is that we have the old system which is using the card for charge and new system which is using the payment intent for one customer, so when we add a new card in the old system, the payment method added earlier in the new system is detached from the customer automatically. Is that intended behavior?
so when we add a new card in the old system, the payment method added earlier in the new system is detached from the customer automatically.
there are two ways to add cards
replace
or
add
yours is using the "replace card_1 with new card_2" approach it looks like
yep, we keep using only one card in old system. We have not completely got rid of the old system yet. So old and new systems are both existing now. When it comes to new system, we use setup intent/payment intent for future payments and use the payment method created by setup intent for payment intent api. In this case, can we maintain both card(in old system) and payment method(in new system) for one customer?
Hi Matt. Taking over for hmunoz. Give me a minute to catch up here
Thanks
So it sounds like you're currently using this method to add a card: https://stripe.com/docs/api/customers/update#update_customer-source
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That replaces and deletes the old one
I'd look into this method: https://stripe.com/docs/api/cards/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If the card’s owner has no default card, then the new card will become the default. However, if the owner already has a default, then it will not change.
Thanks.I am taking a look at them now