#boost-checkout
1 messages · Page 1 of 1 (latest)
boost-checkout
hi! if you apply a discount with a coupon for example, as far as I know it shows up in the left side panel on the Checkout page.
I am sending a screenshot
You can see the shipping section.
I want exactly the same for discount.
I thought we did this. Screenshot from just now
can you share the cs_test_xxx CheckoutSession ID you are testing this on?
cs_test_a1xmbi8TGIKgFFU9ZBbSS7jTiQA8TbXmdeDkdiuR3VDqRgU5Rt0PG7fCUz#fidkdWxOYHwnPyd1blpxYHZxWjA0TjJGMGRHN3N2dWBOdzZRSFFMZkFiVmYxTjJ1NldxQlVhVVF2NX1rNGtCXXFSTnVCTXc1Tm5gRk5McWFVQUNTV3NWbXFuT0Q8Y29fUldsd0JObVVUbFBCNTVXV1ZgfEQ1MScpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl
thanks
so looking at the API request where you created it : https://dashboard.stripe.com/test/logs/req_UWxQWipl2GLyiN you are not passing in any discounts. So why would there be discounts shown in the hosted page?
if you think you're passing something in your PHP code, then most likely you're passing a variable, and that variable is null!
Yes, I am not passing.
I want to know what to pass ?
Just like "shipping_options".
If you are suggesting to use "coupon" then how to do that ?
sorry you said you read the documentation so I assume you were referring to this and had tried it already
Wow!! It's working.
Similarly for tax what to do ?
I saw the in the documentation, shipping address to be given as input for calculation of tax.
But I want similar to discount above.