#faz919-coupon-apply-pay
1 messages ยท Page 1 of 1 (latest)
Hi there! What product(s) are you using to create the payment and Subscription (e.g. Checkout, Payment Element). Do you have screenshots of this behavior?
sure gimme a second
this coupon is being applied to the purchase
but doesn't show up on apple pay
even though the user is eventually only charged the discount price
website that i'm testing on my iphone since i dont have apple pay set up on my mac
Gotcha. Okay so the amount in the Apple Pay modal for Payment Request Button is determined by the amount you set in the PaymentItem object: https://stripe.com/docs/js/appendix/payment_item_object
It won't correspond directly to the amount of the PaymentIntent
So when you apply a coupon, you also need to update your PaymentRequest: https://stripe.com/docs/js/payment_request/update
In order to set the total to correspond with the coupon
๐