#King Of Web Devs-coupons
1 messages · Page 1 of 1 (latest)
Hi Karbi
do you need account details?
basically ive applied a coupon to all subscriptions back in Septemeber
some are now for renewal and customers are paying
the subscription renewal is paid via an invoice generated by the stripe system
the invoice shows the discount code text but has an amount of zero
Do you have the ID of a specific invoice?
in_1K1wAwBV2H1qTFlLnSACTQbl
The coupon that's been applied to that Invoice only applies to one specific product that is not included in the Invoice - that's why there is no discount being taken off
The coupon was setup for product Gold_pro
The client should be on Gold_pro
And why would that coupon text appear on invoices that aren't for that specific product anyway
The coupon is tied to product prod_JnUiY922PJVDww, but the subscription is on price price_1HYxSGBV2H1qTFlLRSNd8dtI which is tied to product prod_FMERhDRcjflsVE
But when i created the coupon, i tied it to the product prod_FMERhDRcjflsVE and specifically the Gold_pro price
The logs show the creation but no link to any product at all
You can see the request that created the coupon here: https://dashboard.stripe.com/logs/req_LpeqoGjCF0E16v
Right, ok, so to resolve this issue can i remove that product from the coupon and add the intended product?
Failing that i presume i will have to create a new coupon and apply that to the correct product? If this is the case can i use that previous coupon ID?
You'd definitely have to create a new coupon since we don't allow you to update applies_to once the coupon has been created. Let me just check a couple things for using the provious coupon ID
thanks
So I'd recommend that you don't use the same coupon ID - the existing subscriptions will still be tied to the original coupon (that I assume you'll delete), and won't automatically see that there's a new coupon with a different set of applies_to products
ok so ill have to write a script and get the API to update all existing users.
Yeah unfortunately that's the most foolproof way of doing this - I know it's a hassle 😦