#SCIF
1 messages · Page 1 of 1 (latest)
hello! i'm a little bit confused, can you rephrase and explain what you're trying to achieve?
The coupon is applied after making payment request button so the final price is actually adjusted to initial one (used on payment request creation)
if i understood this correctly, the amount being shown is the full amount, not the discounted amount?
That is because first of all we show the button the customer, so have to create a payment button. Later customer applies the coupon and I don't really understand how to pass a new amount to googlepay
you'll want to use https://stripe.com/docs/js/payment_request/update to update the amount total
Oh., dear, how I missed this... Thanks!
i think we should probably mention it in this doc https://stripe.com/docs/stripe-js/elements/payment-request-button, otherwise it could be easy to miss 😅 I'll pass on feedback on it