如何使用React Native集成Stripe并符合PCI标准?

时间:2022-08-22 19:21:53

I've researched everywhere and seems like React Native isn't really Stripe supported. I saw https://github.com/xcarpentier/react-native-stripe-api and https://github.com/lrettig/react-native-stripe , but the former is outdated, not supporting Stripe Connect, and latter is only iOS supported.

我到处研究过,似乎React Native并不支持Stripe。我看到https://github.com/xcarpentier/react-native-stripe-api和https://github.com/lrettig/react-native-stripe,但前者已过时,不支持Stripe Connect,后者是仅支持iOS。

So the only one that was reliable and made sense was http://blog.bigbinary.com/2015/11/03/using-stripe-api-in-react-native-with-fetch.html .

所以唯一可靠且有意义的是http://blog.bigbinary.com/2015/11/03/using-stripe-api-in-react-native-with-fetch.html。

Here it lays out what's needed to be fully PCI-compliant, https://stripe.com/docs/security

在这里,它列出了完全符合PCI要求的内容,https://stripe.com/docs/security

My question is, by following blog.bigbinary.com using fetch except hosting my secret key in the front-end, would I be fully PCI-compliant as if I was using Stripe.js? And how can I make sure to be using Transport Layer Security?

我的问题是,通过跟随blog.bigbinary.com使用fetch除了在前端托管我的密钥,我是否完全符合PCI标准,就像我使用Stripe.js一样?我怎样才能确保使用传输层安全性?

Anyone who has already fully integrated Stripe using React Native can chime in, would really appreciate any insight or guidance.

任何已经使用React Native完全集成Stripe的人都可以加入,非常感谢任何见解或指导。

Will be accepting answer with upvote and thank you

将以upvote接受回答并感谢你

1 个解决方案

#1


4  

We've made wrapper around native Stripe SDK for both platforms here: https://github.com/tipsi/tipsi-stripe

我们为这两个平台制作了原生Stripe SDK的包装:https://github.com/tipsi/tipsi-stripe

It's also contains usage guide on RN side.

它还包含RN方面的使用指南。

#1


4  

We've made wrapper around native Stripe SDK for both platforms here: https://github.com/tipsi/tipsi-stripe

我们为这两个平台制作了原生Stripe SDK的包装:https://github.com/tipsi/tipsi-stripe

It's also contains usage guide on RN side.

它还包含RN方面的使用指南。