#reddiesel-reactnative-applepay

1 messages · Page 1 of 1 (latest)

stone magnet
#

@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?

calm sluice
#

Expo version v43.00. RN version 0.64.2 (yes this differs from example, but is required version in expo)

stone magnet
#

Okay so what happens? Do you get an error? Were you able to debug this and get information/logs?

calm sluice
#

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

stone magnet
calm sluice
#

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

calm sluice