#simmzies-upcoming-discount

1 messages · Page 1 of 1 (latest)

frail nimbus
#

hello, can you share the Subscription ID?

and also, share the full response from your GET requests for upcomingInvoice() too (as well as the parameters you're passing in upComingInvoice() ), so I can compare

knotty jungle
#

It's in test mode, the Subscription ID is sub_1JfD4eKtITKMNopjJ0HJ7RJC

#

I'm updating the subscription using a POST request with {
"cancel_at_period_end": "false",
"proration_behavior": "none",
"items": {
"0": {
"id": "si_KJqmJpLeofQnC0",
"price": "plan_Gz0KvW8ogKTCn8"
}
},
"coupon": "jTNxLjeY"
}

#

I've just been looking at the website to view the subscription information, and the upcoming Oct 29 invoice shows a $79 charge instead of $49

frail nimbus
#

looking, I see what you're referring ot

frail nimbus
#

ah figured it out with help from teammates

#

your Subscription is subscribed to Price/Plan plan_Gz0KvW8ogKTCn8
which was created off Product prod_Gz0K3XyLJ8h7vM

the Coupon you created specified applies_to a particular Product: pr_1JeSrQKtITKMNopj5vKHIwT0

so it will only apply to Prices that were created off that Product

I'll file to improve the labels on the Dashboard to indicate why that Coupon didn't apply to that Product but that should answer you why the Coupon shows up but doesn't apply to the UpcomingInvoice