#gaetan

1 messages · Page 1 of 1 (latest)

tough pewterBOT
fair storm
#

Coupons can have multiple promotion codes. The coupon count is how many times the coupon has been redeemed across all promotion codes.

true jacinth
#

ok so here 3 time because 3 paymentIntent succeeded ?
But why this both field are diffente I have only 1 promotion code on my coupon .. ?

toxic helm
#

Hi there 👋 jumping in as my teammate needs to step away soon. Coupons can also be applied to Subscriptions or Customers without using a Promotion Code. Can you copy the ID of that Promotion Code and paste it here?

true jacinth
#

yes tu7eUKFT

#

thanks

#

I used it on stripe checkout page 3 time mayybe for 3 user during the session checkout page, but I don't understand the '2' here

toxic helm
#

Sorry, I meant the ID from the field that has a value with a prefix of promo_

true jacinth
#

humm ok

#

promo_1MteHDBmuerDLu3DDYiwc9rG

toxic helm
#

Thank you, taking a closer look.

#

Sorry, I thought I'd be able to find any requests that used that Coupon quickly, but that's not happening (it's possible it wasn't used directly in a request).

It does look like the Coupon was redeemed 3 different times:
https://dashboard.stripe.com/test/coupons/tu7eUKFT

Do you know if one of those times you passed the Coupon's ID in when creating the Checkout Session, rather than using a Promotion Code to use the Coupon?

true jacinth
#

yes I did a test like that by the session checkout

#

direclty

#

by the code

#

kind of stuf dicounts => coupon on parameters

#

so this increment the count of coupon ? instead of promotion code ?

#

humm your are right
checkout stripe by code
=> increment the times_redeemed coupon
checkout stripe by page directly
=> increment both

that is correct ?

toxic helm
#

Yup, if the Promotion Code isn't used then the redemption count for the Promotion Code won't be incremented.

true jacinth
#

of my god your are right ! thanks for this information guys

#

is incremented only if the PI is sucess right .??

toxic helm
#

Hm, that I'm less confident about, but I believe so.

tough pewterBOT
true jacinth
#

humm

#

ok