admin管理员组文章数量:1221412
I have researched on how to implement Stripe using React native, but have not found a solid way to so. Apparently, React Native does not support http module so would have to use Stripe API using fetch
(as explained in .html).
So my question is, is using fetch method to Stripe API endpoints a good alternative to stripe.js
? And would I be missing out on anything by not using stripe.js
? Also, is stripe.js
another name for the Stripe SDK?
Lastly, by using fetch to Stripe API endpoints in place of stripe.js
, would it still be considered a fully PCI-compliant integration as described in ?
Thank you in advance
I have researched on how to implement Stripe using React native, but have not found a solid way to so. Apparently, React Native does not support http module so would have to use Stripe API using fetch
(as explained in http://blog.bigbinary.com/2015/11/03/using-stripe-api-in-react-native-with-fetch.html).
So my question is, is using fetch method to Stripe API endpoints a good alternative to stripe.js
? And would I be missing out on anything by not using stripe.js
? Also, is stripe.js
another name for the Stripe SDK?
Lastly, by using fetch to Stripe API endpoints in place of stripe.js
, would it still be considered a fully PCI-compliant integration as described in https://stripe.com/docs/security ?
Thank you in advance
Share Improve this question edited Mar 17, 2022 at 8:47 VLAZ 29k9 gold badges62 silver badges83 bronze badges asked Oct 17, 2016 at 17:54 Jo KoJo Ko 7,57516 gold badges68 silver badges127 bronze badges 1- Possible duplicate of how to use Stripe (stripe.js) and react-native – Beau Smith Commented Mar 16, 2017 at 22:11
1 Answer
Reset to default 16We've made wrapper around native Stripe SDK for both platforms here: https://github.com/tipsi/tipsi-stripe
When you are using native sdk it gives you better integration with platform, so our goal was to make same api for both platforms and support native features.
本文标签: javascriptHow to implement Stripe with React NativeStack Overflow
版权声明:本文标题:javascript - How to implement Stripe with React Native? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1739297665a2156988.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论