#susu-intent-clientsecret

1 messages · Page 1 of 1 (latest)

delicate ruinBOT
obsidian ether
#

Client secrets are unique to each payment intent, intents get their secret when they are created and the secret does not change after

umbral trail
#

ok, so it's the same secret for each client each time right

obsidian ether
#

Can you clarify what you mean by that?

native grotto
#

susu-intent-clientsecret

umbral trail
native grotto
#

For a given PaymentIntent or SetupIntent, we generate a client_secret on creation that you can use client-side

umbral trail
#

when a client secret is sent, is it the same for each client?

native grotto
#

What do you call "a client" in your sentence

umbral trail
#

the person making a purchase (returning)

umbral trail
native grotto
#

A new PaymentIntent is made for each purchase, and each PaymentIntent has a completely unique and different client_secret, otherwise that flow you have above in the picture would never work (we wouldn't know which PaymentIntent to confirm)

umbral trail
#

Ok so regardless if it’s is a new customer, every purchase makes a new payment intent and a client secret

native grotto
#

yes