我到处都进行了研究,似乎 React Native 并不真正支持 Stripe。我看到了https://github.com/xcarpentier/react-native-stripe-api和 https://github.com/lrettig/react-native-stripe ,但前者已过时,不支持 Stripe Connect,后者仅支持 iOS。
所以唯一可靠且有意义的是 http://blog.bigbinary.com/2015/11/03/using-stripe-api-in-react-native-with-fetch.html .
此处列出了完全符合 PCI 的要求,https://stripe.com/docs/security
我的问题是,除了在前端托管我的 key 外,通过使用 fetch 关注 blog.bigbinary.com
,我是否会像使用 Stripe.js 一样完全符合 PCI 标准?我如何确保使用传输层安全性?
任何已经使用 React Native 完全集成 Stripe 的人都可以插话,非常感谢任何见解或指导。
将通过投票接受答案,谢谢
最佳答案
我们在这里为两个平台制作了原生 Stripe SDK 的包装器:https://github.com/tipsi/tipsi-stripe
它还包含 RN 端的使用指南。
关于javascript - 如何使用 React Native 集成 Stripe 并符合 PCI 标准?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40312673/