#TomGullen
1 messages ยท Page 1 of 1 (latest)
Hi there!
Hello thanks to look into this for me!
Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
One moment
req_YB84gSGc5ntZCy
The subscription with the coupon is sub_1LmbZpIq2o1LAhVTQ75QO0Sp
Thanks! Give me a few minutes to look into this.
It looks like you already deleted this coupon previously: https://dashboard.stripe.com/test/logs/req_VM39iumxACn9de
Ah right, but on the subscription it still shows the coupon is applied
Should I be removing it from the subscription in a different way?
What is your end goal? Change a previous invoice of the subscription? Make sure that the coupon won't be applied on this subscription in the future? Something else?
Remove the applied coupon from the subscription
Should this be done with a subscription update?
subscriptionService.Update(forSubscription.StripeSubscriptionID, new SubscriptionUpdateOptions
{
Coupon = null
});
This doesn't do anything, coupons still applied to subscription
I think you need to use this: https://stripe.com/docs/api/discounts/subscription_delete
Yes I just tried on my test account and it worked.
Happy to help ๐