问题
I am unable to integrate Paypal using React Native expo. It can be possible using WebView, but I don't want to use WebView.
回答1:
Seams like your out of luck (Source ), however there is a topic on the roadmap you can upvote ( link )
Another solution that might work if you are willig to make the payment with paypal through google you could implement in app purchases (https://docs.expo.io/versions/latest/sdk/in-app-purchases/) they support paypal purchases ( source )
im not sure if this works for IOS
回答2:
Perhaps this library would be useful: https://www.npmjs.com/package/rn-expo-paypal-integration. If not you can eject from the expo and use react-native-paypal
Or please upvote for the feature to be implemented in Expo:
- https://expo.canny.io/feature-requests/p/paypal-api
- https://expo.canny.io/feature-requests/p/support-user-to-user-payments-without-detaching
- https://expo.canny.io/feature-requests/p/support-for-payments
来源:https://stackoverflow.com/questions/58602205/how-to-integrate-paypal-using-react-native-expo