I was very excited for Apple Pay to finally arrive in Shopify, but was extremely disappointed to learn that we cannot accept discount codes from customers if they want to pay with Apple Pay. This will 100% prevent me from using it.
Is this a Shopify limitation? Or an Apple Pay limitation?
Apple Pay doesn't support discount code entry in the Apple Pay UI. However... if you add the discount code before you initiate Apple Pay, the subtotal will reflect the discount.
From the Apple Developer webiste:
"Otherwise, as soon as the user presses the Apple Pay button, you must begin the payment authorization process. Do not ask the user to perform any other tasks before presenting the payment request. For example, if the user needs to enter a discount code, you must ask for the code before he or she presses the Apple Pay button."