[英]How to integrate Google pay in react application
I need to integrate google pay in my react application but i am not getting proper article on this.is it possible to integrate google pay in react application?and how can i implement it?我需要在我的反应应用程序中集成谷歌支付,但我没有得到关于这个的正确文章。是否可以将谷歌支付集成到反应应用程序中?我该如何实现它?
We've just published and launched the @google-pay/button-react .我们刚刚发布并启动了@google-pay/button-react 。
You can install it with:您可以使用以下方式安装它:
npm install @google-pay/button-react
Alternatively, you can try it out on JSFiddle .或者,您可以在JSFiddle上尝试一下。
Please raise a GitHub issue if you have any problems with it.如果您有任何问题,请提出 GitHub 问题。
For an example of how to Google Pay is integrated into a demo store, check out the following repository: https://github.com/google-pay/react-store/compare/google-pay有关如何将 Google Pay 集成到演示商店的示例,请查看以下存储库: https://github.com/google-pay/react-store/compare/google-pay
Note that you will also need to sign up for a Google Pay merchant account before you can launch: http://pay.google.com/business/console请注意,您还需要先注册一个 Google Pay 商家帐户,然后才能启动: http://pay.google.com/business/console
EDIT:编辑:
Updated to include a JSFiddle link.更新为包含 JSFiddle 链接。
EDIT 2:编辑2:
Updated with link to official launch post.更新了官方发布帖子的链接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.