AbortError .show()
Hey, I started getting an AbortError every time I trigger paymentRequest.show() after upgrading React Native.
let showRequest = await paymentRequest.show(); and it awaits it until it says AbortError
No .abort() is being triggered except the one in the native code for some reason?
Experiencing similar issue was working fine until upgrading to IOS 13.7: Output of react-native info
System:
OS: macOS 10.15.6
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 2.14 GB / 16.00 GB
Shell: 5.8 - /usr/local/bin/zsh
Binaries:
Node: 14.10.1 - ~/.nvm/versions/node/v14.10.1/bin/node
Yarn: 1.22.5 - /usr/local/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.10.1/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 26, 27, 28, 29
Build Tools: 26.0.1, 27.0.3, 28.0.3, 29.0.2, 29.0.3
System Images: android-29 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6626763
Xcode: 11.7/11E801a - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
The reason why I had this error is because I was using the latest iOS version in an emulator. Try using version 12.* or deploy the build on an actual device.
@ajw-m I am getting the same issue in real device 13.5 where it works in a simulator
I made a fork from exodus people https://github.com/ExodusMovement/react-native-payments
Made some modifications to make it easier to install using npm here https://github.com/ajw-m/react-native-payments
So just add this line in a test package.json app to see if this works for you, then npm install
"@exodus/react-native-payments": "git+https://github.com/ajw-m/react-native-payments.git"
A potential fix that exodus did is this
https://github.com/ExodusMovement/react-native-payments/commit/b11425c34a4720fd22158af97e1e67fcba14ebe7
"@exodus/react-native-payments": "git+https://github.com/ajw-m/react-native-payments.git"
Thanks! It helps
I have error when I close the widget (click "Cancel" button, or click outside of widget). What could be the problem?

@powerlimit could be due to a linking problem
hello @ajw-m getting same error in real device iOS : 14.2 any solution?
@dhairyasenjaliya building on real device shouldn't be through react native, you should build and run a release version on the device to get the real behaviour. I would suggest writing up your code and then releasing to Testflight, there you can test. If the abort error continues, provide your code snippets, maybe I can help further
hello @ajw-m I already solved that issue was regarding Merchant's ID was incorrect all though it wont clearly through the message so it's quite difficult to debug the issue