自动为PayPal帐户充值? [英] Automatically charge PayPal account?

查看:106
本文介绍了自动为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?

(类似于我的最后一个问题,但我只是意识到我并不是真的想要来解决必须安全存储抄送信息的麻烦和责任问题)

(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天全站免登陆