#jachensh

1 messages · Page 1 of 1 (latest)

solar rivetBOT
keen forge
#

Hi, taking a look here

#

When having a user update their cc details with a new card number, is the only way to do that by creating a new payment method for example via setup intents? I.e. there's no way to "update" a payment_method with new cc numbers?

That is correct. Since this is a new payment method, you could use SetupIntents to accomplish that.

Is detaching a payment method the same as deleting it? Will it still show up when listing payment methods?

Yes, that is correct. Once a PaymentMethod is detached, https://stripe.com/docs/api/payment_methods/detach you can no longer use it for a payment.

gentle star
#

thanks @keen forge . Just to be clear, once a PM has been detached, it's essentially deleted from the stripe side? i.e. it won't show up when listing payment methods?

#

because i see a method for attaching payment method too

#

i guess i'm looking for a deletion rather than a detachment which could be reattached in the future

keen forge
#

There is no explicit deletion here, detaching the payment method is what you're looking for. It will show up on your Dashboard but you can't use it to make a payment.

gentle star
#

if detached, can it be reattached again?

keen forge
#

That is correct

gentle star
#

so...there's just no way to delete a payment method on the stripe side?

keen forge
#

Detaching is the same as deleting, but yeah that is right

gentle star
#

but once detached, it can be reattached? that isn't the same as deletion

keen forge
#

It cannot

gentle star
#

oh it cannot be reattached. got it

keen forge
#

Sorry, I read too quickly earlier and thought you said can't, my bad.

gentle star
#

np. thanks for answering my q's!