简体   繁体   English

使用PayPal定期付款

[英]Irregularly recurring payments with PayPal

Starbucks has the option to auto-refill your store card via PayPal. 星巴克可以选择通过PayPal自动充值您的商店卡。

I authorize them only once and they charge my card each time my card balance drops below $15 or whatever amount I specify. 我只授权一次,并且每当我的卡余额低于15美元或我指定的任何金额时,它们就会向我收取费用。

I thought this was just normal 'subscription' functionality I could leverage for my own site, but it seems to me that the normal functionality of 'subscriptions' or 'recurring payments' only supports regularly recurring payments in intervals of weeks, months, or years. 我以为这只是我可以在自己的网站上使用的普通“订阅”功能,但在我看来,“订阅”或“定期付款”的正常功能仅支持数周,数月或数年的定期重复付款。

Basically, I need to be able to obtain authorization for future payments that'll allow me to charge the PayPal account whenever a billing trigger (eg the user attended an event) occurs, without the user having to approve it each time. 基本上,我需要能够获得以后付款的授权,以便在发生计费触发事件(例如,用户参加某个事件)时,我无需每次都批准它即可向PayPal帐户收费。

How can I do this? 我怎样才能做到这一点?

I've since discorvered that PayPal Vault would be the way to do this in PayPal: https://developer.paypal.com/docs/integration/direct/rest-vault-overview/ 从那以后,我一直不赞成在PayPal中使用PayPal Vault: https//developer.paypal.com/docs/integration/direct/rest-vault-overview/

Other (perhaps better) options are Stripe or WePay and probably other payment providers that let you store credit cards on their servers and charge them later on. 其他(也许更好)的选项是Stripe或WePay以及其他可能的付款提供商,可以让您将信用卡存储在服务器上并在以后收费。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM