#dhruvs_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1267554158983123065
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Another example: https://dashboard.stripe.com/payments/pi_3Phyf4EC8TusN3990rldbE9T
See promo code applied
Hi,
From looking at the coupon creation request, https://dashboard.stripe.com/logs/req_AvDdcd0k5GYmRi it looks like the coupon created applied to product, prod_NCBFlEVib1HK3Q. However, the subscription used the price from product, prod_QUk9nI1uxKqUea. For this reason the discount will not applied to the coupon.
Hmm, I'm not sure I understand why.
Would you mind seeing if it's the same case with this: https://dashboard.stripe.com/payments/pi_3PhynQEC8TusN3990YMRFuXs?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Looks like there's a promo applied, but discount amount is 0
That seems to be the case here.
If you look here, https://docs.stripe.com/billing/subscriptions/coupons?dashboard-or-api=api#set-eligible-products you can see on his request https://dashboard.stripe.com/logs/req_ZPfp25gW0kLA8B you set a restriction. I recommend that you review this document and create another coupon without the product restriction and see if that is the expected behavior you want to see.
Ah, intersting - thank you
Any way to add another applicable product?
No, you can't update that on the coupon object, https://docs.stripe.com/api/coupons/update. You would need to create another one.
Understood, thank you so much!!