#Laetthieu-coupons
1 messages ยท Page 1 of 1 (latest)
What is in_xxx ?
the invoice id
Oh, i create invoice dynamically when a customer want buy some product
or a request id, here how you could get one 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.
Can i send you an id of a test invoice ?
yes
oh now I see your issue
unfortunately the coupons don't apply to shipping
if you want to make a discount in your shipping you would have to apply it to the shipping rate by yourself
if you want a dynamic shipping rate you could use this field https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-shipping_options-shipping_rate_data
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok, thanks again !
let me know if you need any more help