#MasterJiMm-discount-error
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Do you have request ID I can take a look at?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_wQM1CIXnpeL31P
Ah you're setting percent_off to 999.5
the discount must be between 0 to 100%
ah yes sorry i misread that
NP! ๐
also here in this checkout session req_Ddle0Ja4F6Ej4Y im applying the discount as you can see and im completing the subsctiption evt_1LZdXEJl4ZEcJa8ltGgEBdw7 but once i retrieve it later req_X8l3TlNF7cqpQw the value subscription.items.data[0].price.unit_amount is still the total amount without the discount
Hi ๐ @carmine herald had to set away so I'm taking over
Okay looking
But the price data that you're looking at will be reflective of the Price record and should not show any discounts at that level
Hmmm... I see the discount for this subscription sub_1LZdXAJl4ZEcJa8lD6ArsGwa
di_1LZdXAJl4ZEcJa8l2OYmCE8N
ah yes sorry, i was looking another one
so is there any property that gives me the total amount (with the discount applied) so i can display it to the user?
latest_invioce.amount_due
You can see the discounts applied in the latest_invoice.line_items
Great ๐