简体   繁体   English

如何使用 Stripe 支付网关在 C# (dot.net web api) 的服务器端实现 Google Pay?

[英]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.

相关问题 如何在C#中使用Stripe API取消订阅Stripe付款计划 - How to unsubscribe from stripe payment plan using Stripe API in c# 验证 Google pub/sub android 支付通知服务器端 C# / ASP.NET MVC - Verify Google pub/sub android payment notification server side C# / ASP.NET MVC 如何通过点网运行Selenium API(使用C#) - How to run selenium API with dot-net (using c#) 使用ASIFormDataRequest时如何实现C#服务器端? - How to implement the C# server side when using ASIFormDataRequest? 如何使用 ASP.NET MVC 5 创建请求并将客户端重定向到 C# 中的支付网关主卡? - How create request and redirect client to payment gateway master card in C# using ASP.NET MVC 5? 如何使用C#实现IPP网关? - How to implement IPP gateway using C#? 如何在服务器端C#上实现套接字? - How to implement sockets on the server side C#? 如何将 Stripe 支付网关集成到 ASP.NET MVC - How to integrate Stripe payment gateway to ASP.NET MVC 如何使用 C#、ASP.NET、SQL Server 端处理实现 jQuery DataTables 插件? - How can I implement jQuery DataTables plugin using C#, ASP.NET, SQL Server side processing? 如何在Restful Web API(.NET / JSON / EF6)服务器端实现部分更新(PATCH) - How to implement Partial Updates (PATCH) in Restful Web API (.NET/ JSON/ EF6) Server side
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM