#peibol-Promo
1 messages · Page 1 of 1 (latest)
got it, and can you give me the promo code ID?
SUN20
promo_1KkjMsCJDyJm9UBNdRldFA1w
Now I see it, might it bee because the client I am trying it with has already purchase or start a trial?
Not really, it's because you have set first_time_transaction to true. https://stripe.com/docs/api/promotion_codes/create#create_promotion_code-restrictions-first_time_transaction
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Therefore, if customer has completed a successful payments or invoices before, this customer can't use this promo code anymore.
okey thank you, I will try then with that flag set to false
If I set it to false, but I do set a limit for the times a prmotion_code can be applied, does that applies to every customer or for each customer?
You mean the max_redemptions (https://stripe.com/docs/api/promotion_codes/create#create_promotion_code-max_redemptions) ? It only limit the number of redemptions allowed for this promo code, so it's possible that a customer can redeem it multiple times.
ok thankyou