【问题标题】:How to create and get CustomerPaymentProfile in Authorize.Net如何在 Authorize.Net 中创建和获取 CustomerPaymentProfile
【发布时间】:2016-02-25 13:37:26
【问题描述】:

你好,

我是 Authorize.net 的新手,在将其与我的 PHP 网站集成时遇到了一些麻烦。

我的问题:

1) 当我创建 customerProfile 时,付款配置文件也会随之创建。有一种方法可以获取 customerProfileId($response->getCustomerProfileId())。 但是如何获得customerPaymentProfileID

2) 当我创建 customerPaymentProfile 时,它会给出成功响应。但 null customerPaymentProfileID

3) 如何仅按customerProfileId 获取所有customerPaymentProfiles的列表。

我使用的代码与沙盒模式下开发人员 API 参考中提供的代码相同

请帮我解决这个问题。

【问题讨论】:

    标签: php payment-gateway authorize.net


    【解决方案1】:

    在Authroize.Net中 要获取客户资料 ID 的客户付款资料 ID,请使用此示例代码:Sample Code to Get Payment Profile Ids

    在创建客户付款资料时,它会返回一个 customerPaymentProfile :API Reference, 检查响应选项卡。 为此,您需要使用$response->getCustomerPaymentProfileId()

    【讨论】:

      猜你喜欢
      • 2013-02-06
      • 1970-01-01
      • 2013-09-18
      • 2017-08-01
      • 1970-01-01
      • 2011-10-19
      • 2015-03-18
      • 1970-01-01
      • 2012-11-11
      相关资源
      最近更新 更多