#reddiesel-reactnative-applepay
1 messages · Page 1 of 1 (latest)
@calm sluice as far as I know it does work. Do you have specific questions/context/info for us to debug?
What exact version of the device, OS, ReactNative lib are you using?
Expo version v43.00. RN version 0.64.2 (yes this differs from example, but is required version in expo)
I can reference the exact code from https://github.com/stripe/stripe-react-native/blob/master/example/src/screens/ApplePayScreen.tsx
Okay so what happens? Do you get an error? Were you able to debug this and get information/logs?
only error returned is
"Cancelled" "The Payment is cancelled". I have tried debugging the native code, no errors are spat out at that level
suggesting there is perhaps issue somewhere between the RN bridge. For context, unlike the example I provide my own "clientSecret" rather than requesting it after presenting the apple pay button
on my stripe backend, payment intent is created all OK.
only thing I have considered is that my backend is on stripe API version 2019-05-1
can you try creating a PaymentIntent with the latest API version, see https://stripe.com/docs/api/versioning, just to be safe?
but when I call "presentApplePay" an API request is made using
2020-08-27
maybe solution to this, is the documentation to be updated to mention that users must be on API version X-X-X
I will report back with results