#tuva - Apple Pay React Native
1 messages ยท Page 1 of 1 (latest)
I thought because the cart item amount is 999 and the shipping amount is 999, the amount in Apple pay would be 1998, but it's just 999 (the cart item amount). Am I misunderstanding the purpose of the shipping method amount? Thank you!
Hello ๐
Rubeus had to step away
I can take a look at this thread in a bit
Juggling between a few threads at the moment
Thanks!
๐ I believe what you're seeing is expected behavior - cartItems is meant to reflect all the line items adding up to the total.
I see
Is there a way to do conditional shipping prices based on the shipping address field in Apple pay? Seems like not but wanna make sure!
I think you'd want to implement something like this: https://github.com/stripe/stripe-react-native/blob/4b0bcc461ec3a3bdce90b71332d241da03ed943b/example/src/screens/ApplePayScreen.tsx#L40