Asp.net 授权.Net API:定义用于收费的默认信用卡
我在authorize.net中为单个客户保存了多个付款配置文件。每个支付配置文件都包含一个信用卡信息 我有两个问题 1) 当我向具有多个付款模式的客户的交易收费时,将收取哪张信用卡的费用。 2) 有没有办法定义要收费的默认信用卡Asp.net 授权.Net API:定义用于收费的默认信用卡,asp.net,authorize.net,Asp.net,Authorize.net,我在authorize.net中为单个客户保存了多个付款配置文件。每个支付配置文件都包含一个信用卡信息 我有两个问题 1) 当我向具有多个付款模式的客户的交易收费时,将收取哪张信用卡的费用。 2) 有没有办法定义要收费的默认信用卡 谢谢目前无法为付款创建默认付款模式。每次调用createCustomerProfileTransactionRequest都必须传递一个请求。在第页中,我看到以下内容: defaultPaymentProfile:设置为true时,此字段将付款配置文件指定为默认付款配
谢谢目前无法为付款创建默认付款模式。每次调用
createCustomerProfileTransactionRequest
都必须传递一个请求。在第页中,我看到以下内容:
defaultPaymentProfile:设置为true时,此字段将付款配置文件指定为默认付款配置文件。
指定默认付款配置文件后,您可以使用getCustomerPaymentProfileRequest和customerProfileId作为唯一参数。设置默认付款配置文件将100%起作用
$paymentprofile = new AnetAPI\CustomerPaymentProfileExType();
$paymentprofile->setCustomerPaymentProfileId($payment_detail['payment_profile_id']);
$paymentprofile->setBillTo($billto);
$paymentprofile->setPayment($paymentCreditCard);
$paymentprofile->setDefaultPaymentProfile($payment_detail['default_payment']);