Authorize.net - 通过 cim 批量上传

Authorize.net - bulk upload via cim

我通过 PHP 成功使用 Authorize.net CIM 使用他们的 xml api.

为信用卡充值

我想给他们的卡充值时需要的信息是 他们的 customerProfileId,我用它来获取他们的 customerPaymentProfileId 然后我可以收取之前授权的金额。

  1. customerPaymentProfileId 是静态的吗?比如,我是否只需要检索一次它就不会改变'ever' change?

  2. 我能否使用 authorize.net 的批量上传功能,如下所述: http://www.authorize.net/files/uploadguide.pdf 如果是这样,我应该把这些字段放在哪里?

  3. 如果我无法使用批量上传功能,解决方案是只循环遍历我当前 PHP 脚本下的交易,还是可能会出现并发症将通过这样做引入。

Is the customerPaymentProfileId static? As in, do I only need to retrieve it once and then it won't change 'ever' change?

是的,它是静态的,永远不会改变。如果不是这个服务将永远无法工作。

Am I able to use the bulk upload feature of authorize.net as described at: http://www.authorize.net/files/uploadguide.pdf And if so, where should I be putting those fields?

没有

If I am unable to use the bulk upload feature, would a solution be to just loop through the transactions that I have under my current PHP script, or may there be complications that would be introduced by doing that.

这正是您想要做的。 CIM 通常与自主开发的自动计费系统搭配使用。通常用于处理具有不同付款金额的定期计费。这些系统会做这件事。