[英]How to design own checkout.js similar to paypal or stripe
Paypal and Stripe provides their own checkout.js. Paypal和Stripe提供了自己的checkout.js。 Client app/website integrates the checkout.js in their payment page to enable Paypal/Stripe payment button in their interface.
客户端应用程序/网站将checkout.js集成到其付款页面中,以在其界面中启用Paypal / Stripe付款按钮。
I want to know, if I had to design a similar checkout.js for a payment gateway, what are the things/components to look at? 我想知道,如果我必须为支付网关设计类似的checkout.js,要看的东西/组件是什么? Is there any guidelines/ best practices available on the internet on this?
互联网上是否有任何指南/最佳做法? And, is checkout.js really a efficient solution to enable client apps integrate with your payment solution?
而且,checkout.js是否真的是使客户端应用程序与您的付款解决方案集成的有效解决方案? If not, is their any alternate / better way?
如果不是,他们还有其他更好的方法吗?
As is the case any time you decide to blaze your own trail when handling sensitive information like credit card details and passwords- proceed with extreme caution. 在处理敏感信息(如信用卡详细信息和密码)时,任何时候您决定大胆尝试时,都必须格外小心。 One simple slip-up or oversight could potentially leak your customer's card details to the "bad guys".
一个简单的疏忽或疏忽可能会将您客户的卡详细信息泄露给“坏蛋”。 In short- don't do it.
简而言之,不要这样做。
If you're still trying to create your own checkout solution after considering the above advice, Stripe's documentation on how to use and customize their Checkout form is a great place to start. 如果您在考虑了上述建议后仍在尝试创建自己的Checkout解决方案,那么Stripe有关如何使用和自定义其Checkout表单的文档就是一个不错的起点。
Anecdotally, I can vouch for the effectiveness and ease-of-use of Stripe's checkout plugin. 有趣的是,我可以保证Stripe的checkout插件的有效性和易用性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.