Jo *_* Ko 11 javascript fetch stripe-payments react-jsx react-native
我已经研究过如何使用React native实现Stripe,但还没有找到一个可行的方法.显然,React Native不支持http模块,因此必须使用Stripe API fetch(如http://blog.bigbinary.com/2015/11/03/using-stripe-api-in-react-native-with中所述) -fetch.html).
所以我的问题是,对Stripe API端点使用fetch方法是一个很好的替代方案stripe.js吗?如果不使用,我会错过任何事情stripe.js吗?另外,stripe.jsStripe SDK的另一个名称是什么?
最后,通过使用fetch到Stripe API端点代替stripe.js,它是否仍然被认为是完全符合PCI的集成,如https://stripe.com/docs/security中所述?
先感谢您
cyb*_*ind 16
我们为这两个平台制作了原生Stripe SDK的包装:https://github.com/tipsi/tipsi-stripe
当您使用本机sdk时,它可以让您更好地与平台集成,因此我们的目标是为两个平台制作相同的API并支持本机功能.