#toxiCity

1 messages · Page 1 of 1 (latest)

proven zenithBOT
magic widget
#

Hello

#

Can you give me more details about what you are trying to do?

half schooner
#

I have a page displaying registered card details (payment methods) for customers. I want to support changing the card used.

magic widget
#

Are you using Invoices/Subscriptions?

half schooner
#

I am using setup intents

magic widget
#

And charging later via PaymentIntents?

half schooner
#

No, my client bills them directly using the stripe app

magic widget
#

You mean via the Dashboard?

half schooner
#

We just want to allow our clients to change their registered card data

#

yes

magic widget
#

Well when you charge via the Dashboard you select which attached PaymentMethod you want to charge

#

Are you saying you only want to have one PaymentMethod attached to a Customer?

half schooner
#

yes

magic widget
half schooner
#

How to add a new one

#

using the elements?

magic widget
#

Should just be the same way you are collecting them currently, no?

#

Like whenever you confirm a SetupIntent using Payment Element then a new PaymentMethod will be created

half schooner
#

ok so I have to create a new setupIntent is that correct?

magic widget
#

Yep you just have the customer go back through the same flow that they you used to add the initial card

#

But you pass the same Customer ID

#

Instead of a new one

half schooner
#

ok got it