[英]How to implement Google Pay in Server Side in C# (dot net web api) using Stripe Payment Gateway?
I want to implement the google pay in my server side code but no code or method available in stripe payment gateway.我想在我的服务器端代码中实现谷歌支付,但在条纹支付网关中没有可用的代码或方法。 My payment type is google pay, not card type.我的付款方式是 google pay,不是信用卡类型。 I also see stripe document https://stripe.com/docs/google-pay but I did't find any server code.我还看到条带文档https://stripe.com/docs/google-pay但我没有找到任何服务器代码。 I find only install dependency in server code but don't find implementation method in server side in google pay.我只在服务器代码中找到安装依赖项,但在 google pay 中没有在服务器端找到实现方法。
I want to implement the google pay code in server side dot.net c# web api.我想在服务器端 dot.net c# web api 中实现谷歌支付代码。
It's more of frontend than backend for enabling Google Pay in your website.在您的网站中启用 Google Pay 与其说是后端,不如说是前端。
You just need to create a PaymentIntent with payment_method_types=['card']
in the backend and pass the clientSecret
to the frontend.您只需要在后端创建一个带有payment_method_types=['card']
的clientSecret
传递给前端。
Read this doc for the complete integration guide.阅读此文档以获取完整的集成指南。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.