#waqas ahmad - coupons

1 messages · Page 1 of 1 (latest)

stiff grove
#

Hi there. Can you share the id of the coupon and the id of the subscriptions where it was used (each time)?

fossil nexus
#

Coupon Id:test 1 & subscription id: price_1KCetbB0xtofIlR8YrdaxWxQ

smoky basalt
#

👋 stepping in for codename_duchess as they need to step away

#

taking a look!

#

To clarify, max_redemptions is not per-customer

#

Can you indicate which Subscription used it 5 times?

fossil nexus
#

max_redemptions is total number of coupons used but sometime if user subscribe again with same coupon count doesn’t increase. Is there any condition when this count increase??

smoky basalt
#

It is total amount of times it is redeemed

#

In this case, for one-time use coupons, that means it is actually used on an invoice

fossil nexus
#

okay. On update subscription stripe didn’t return the amount it detect from customer either coupons apply or not. How we know that how much amount detect??

smoky basalt
#

You mean how do you know how many remaining redemptions of the coupon there are?

fossil nexus
#

No no...I want to know how much amount stripe charge when user update subscription?

smoky basalt
fossil nexus
#

But this return upcoming invoice maybe user update subscription 2-3 times then how we know which subscription is latest??

#

Actually we want to show amount to user when they update subscription.

smoky basalt
#

I don't follow. You call that API any time you want to know the amount of the upcoming invoice

#

So in your case it sounds like you would call it each time the customer updates the Sub

#

So you can correctly display the upcoming amount

fossil nexus
#

OKAY...

#

Is there any way can we restrict user to use coupon only one time using stripe?

smoky basalt
fossil nexus
#

I try it but In promotion code max_redemptions also means number of time its used. I didn’t find any parameter to specify that it only use one time for every customer.

smoky basalt
#

You would set it to one time for max redemption and give a different promo code to each customer

fossil nexus
#

hmm...okay

#

Thanks for your help and time @smoky basalt 🙂