自动向PayPal账户收费? [英] Automatically charge PayPal account?

查看:23
本文介绍了自动向PayPal账户收费?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想根据他们在我网站上使用的服务自动向我的会员收取可变金额的费用.他们会累积一笔欠款,然后每周都会向他们收取这笔款项.有没有一种方法可以做到这一点,而不必将他们的信用卡信息存储在我的数据库中?

I'd like to automatically charge my members a variable amount of money based on the services they use on my website. They would accumulate a balance owing, and then every week they would be charged for that amount. Is there a way I can do this without having to store their credit card information in my database?

(类似于我的最后一个问题,但我才意识到我并不真正想要解决必须安全存储 CC 信息的头痛和责任问题)

(Similar to my last question, but I just realized I don't really want to go through the headaches and liability issues of having to safely store CC info)

推荐答案

要实现这一点,您需要创建自己的订阅系统来管理订阅的时间"以及订阅数量".然后,您可以使用您选择的支付处理器的 API 来处理交易.

To accomplish this you'll need to create your own subscription system that manages the "when" of the subscription as well as the "how much". You then can use the API of your chosen payment processor to process the transaction.

一个例子是使用 Authorize.Net 客户信息管理器 (CIM) API 存储客户账单信息,包括他们的信用卡信息,然后有一个定期轮询数据库的 cron 作业,当用户满足支付标准时,计算适当的金额,然后使用 CIM API 处理他们的信用卡.集成是无缝的,因此看起来尽可能专业.

An example of this would be to use the Authorize.Net Customer Information Manager (CIM) API to store customer billing information, including their credit card information, and then have a cron job that periodically polls the database and, when a user meets the criteria for a payment, calculate the proper amount and then use the CIM API to process their credit card. The integration is seamless so it will look as professional as you can make it.

这篇关于自动向PayPal账户收费?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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