如何使用 Google Pay 为我的在线服务自动收费 [英] How to auto charge for my online service using Google Pay

查看:146
本文介绍了如何使用 Google Pay 为我的在线服务自动收费的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想做一个网站,它有一个功能,用户必须登录并链接他们的信用卡才能使用该功能,我会根据他们一个月使用的次数向他们收费.就像 Google 在 Google Ads 上所做的一样.

I want to make a website, which has a function, users have to login and link their credit card to use that function, and I charge them for how many times they use in a month. Just like how Google does on Google Ads.

我该怎么做?

这可以通过使用 Google Pay API 实现吗?

Is this possible by using Google Pay API?

Google Pay 常见问题解答:

Google Pay FAQ says:

对定期计费的支持是与 Google Pay API 响应中返回的付款方式相关联.标记化的卡片和存档的卡片都可用于重复使用计费.要处理定期计费,商家不必定期调用我们的 API.相反,支付凭证存储在商家方进行定期付款.商家使用他们的用于管理定期计费的支付网关 API.

Support for recurring billing is tied to the payment method returned in the Google Pay API response. Both tokenized cards and cards on file can be used for recurring billing. To process recurring billing, the merchant doesn't have to call our API at a cadence. Rather, the payment credential is stored on the merchant side for recurring payments. The merchant uses their payment gateway APIs to manage recurring billing.

如果符合以下条件,Google Pay 支持定期付款真的:

Google Pay supports recurring payments if the following statements are true:

商家遵守网络规则,例如商家发起的交易.付款条款已被用户披露并接受在商家的购买流程中.我们还支持定期计费可变金额.例如,移动运营商的每月电话费支持.要获得更多信息,商家必须联系他们的支付网关代表.

Merchants comply with network rules, such as merchant-initiated transactions. Terms of payment are disclosed and accepted by the user within the merchant’s buyflow. We also support recurring billing with variable amounts. For example, monthly phone bills for mobile carriers are supported. To get more information, merchants must contact their payment gateway representative.

我完全不明白.这是否意味着我必须问我的银行?如果是这样,他们应该给我什么数据来完成这项工作?或者我应该改用 paypal 等其他服务提供商吗?

I don't totally understand. Does that mean I have to ask my bank? If so, what data should they give me to accomplish this? Or should I change to other service provider like paypal?

推荐答案

Google Pay 不处理付款.它通过安全地为您(开发者)提供一个支付令牌来促进它,您可以使用该令牌处理与您的支付服务提供商的付款.请参阅支持的支付服务提供商.

Google Pay doesn't process the payment. It facilitates it by securely providing you (the developer) a payment token that you can use to process a payment with your payment service provider. See supported payment service providers.

这意味着这取决于您的支付服务提供商是否支持定期付款.你用的是哪一个?

What that means is that it depends on whether or not your payment service provider supports recurring payments. Which one are you using?

例如,Braintree 支持这种使用 Google Pay 定期付款.

Braintree for example supports this type of recurring payment with Google Pay.

这篇关于如何使用 Google Pay 为我的在线服务自动收费的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆