kraffslol / react-native-braintree-xplat

Cross-platform Braintree module for React Native
MIT License
81 stars 121 forks source link

Paypal checkout crashes the app #54

Open georgekpc opened 7 years ago

georgekpc commented 7 years ago

I use version "3.2.0" of "react-native-braintree-xplat" and react native 0.42

I have managed to build a custom "pay by card" checkout using getCardNonce method and everything works fine.I would also like to add paypal checkout. I have added showPayPalViewController method and setup everything in Xcode. It opens safari, fetches the account that sandbox environment belongs to and I get the accept button. Everything's perfect so far. When I hit the agree button, it crashes the app...

If I do paypal checkout through Drop-in UI (using showPaymentViewController) works like a charm.

P.S: I can provide the Xcode errors I get

Any help would be highly appreciated!!!