#codelogix-payment-method-id

1 messages ยท Page 1 of 1 (latest)

high tideBOT
solid jasper
#

Hello

#

If a PaymentMethod is detached from a Customer then it is consumed and cannot be re-used

boreal cradle
#

Right...but if the user uses the same card for a future transaction, does that card get a new Stripe::PaymentMethod.id generated?

solid jasper
#

Not sure what you mean? You get a new ID when you collect a new PaymentMethod.

#

A PaymentMethod's ID is never changed.

boreal cradle
#

correct...If I use the same card twice in two separate transactions, does a new Stripe::PaymentMethod get created on Stripe's end?

solid jasper
#

That all depends on your integration.

#

Are you creating a new PaymentMethod each time?

#

What does "use the same card twice in two separate transactions" mean?

#

Mostly no, this shouldn't happen

#

But it can if you are creating a new PaymentMethod

boreal cradle
#

We are using the new Stripe Elements integration...so that new Stripe Elements UI creates a payment method each time for each PaymentIntent that is created.

faint vault
#

codelogix-payment-method-id

boreal cradle
#

so if we create two transactions with the same card, would Stripe automatically generate two unique Stripe::PaymentMethod records, even if the card is the same?

#

sorry if I'm not explaining this well

faint vault
#

Hi there ๐Ÿ‘‹ jumping in as my teammate needs to step away soon. We will create a new Payment Method every time we receive a request to create one, we do not do any sort of deduplication automatically for Payment Methods.

boreal cradle
#

got it. that's what I needed to know. Thank you!

faint vault
#

Any time!