How to integrate Paypal using React Native expo?

喜夏-厌秋 提交于 2021-01-27 18:04:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!