#MarceloOlandim

1 messages · Page 1 of 1 (latest)

dire shardBOT
shut oyster
#

Hi there

sleek pollen
#

hello

shut oyster
#

I'm not sure I exactly understand what you mean here

#

You are setting the promo code when you create the Subscription?

#

But you don't want that to count as a redemption?

sleek pollen
#

We are creating the subscription with the promo code so we could have the payment secret so the user could pay for it.

But even if the user didn't finished the payment, the promo code is counted as redeemed

shut oyster
#

Okay

#

So you either need to re-use that same client-secret if the customer returns or create a new promo code each time

sleek pollen
#

Okay, thanks

#

for how long can store and use the payment secret

#

for how it is valid ?

shut oyster
#

Well a Subscription will only stay in incomplete for 23 hours

#

Then it will move to incomplete_expired and the PaymentIntent will be canceled