dongzhanlu8890 2014-04-01 14:58 采纳率: 0%
浏览 37
已采纳

Authorize.net ARB信用卡问题

I can successfully create ARB subscriptions. But as far as I can tell from the documentation, the credit card is not validated until it is charged.

So it is my understanding that I need to use AIM and VOID a charge of 0.01.

$content =
    "<?xml version=\"1.0\" encoding=\"utf-8\"?>" .
    "<ARBCreateSubscriptionRequest xmlns=\"AnetApi/xml/v1/schema/AnetApiSchema.xsd\">" .
    "<merchantAuthentication>".
    "<name>" . $loginname . "</name>".
    "<transactionKey>" . $transactionkey . "</transactionKey>".
    "</merchantAuthentication>".
    "<refId>" . $refId . "</refId>".
    "<subscription>".
    "<name>" . "Payment" . "</name>".
    "<paymentSchedule>".
    "<interval>".
    "<length>". 1 ."</length>".
    "<unit>". "months" ."</unit>".
    "</interval>".
    "<startDate>" . $today . "</startDate>".
    "<totalOccurrences>". 9999 ."</totalOccurrences>".
    "<trialOccurrences>". 0 . "</trialOccurrences>".
    "</paymentSchedule>".
    "<amount>". $contractorRate ."</amount>".
    "<trialAmount>" . 0.00 . "</trialAmount>".
    "<payment>".
    "<creditCard>".
    "<cardNumber>" . $ccnumber . "</cardNumber>".
    "<expirationDate>" . $ccexpire . "</expirationDate>".
    "</creditCard>".
    "</payment>".
    "<billTo>".
    "<firstName>". $firstname . "</firstName>".
    "<lastName>" . $lastname . "</lastName>".
    "</billTo>".
    "</subscription>".
    "</ARBCreateSubscriptionRequest>";

//send the xml via curl
$response = send_request_via_curl($host,$path,$content);

So before I get a successful response from $response, I'd need to VOID a charge to their credit card.

Am I correct in this understanding? What would be the best way to go about doing so?

  • 写回答

1条回答 默认 最新

  • douhuigang9550 2014-04-01 15:00
    关注

    To verify the credit card is valid before creating the subscription you need to do an AUTH_ONLY for either $0.00 or $0.01 depending on your processor's requirements. If it is approved, and the amount is $0.01, you should then void that transaction. Then you can go ahead and create your subscription.

    There were some rules changes and AUTH_ONLYs for $0.01 and I am not 100% up to speed on them. But from what I understand, Visa and MasterCard wanted to do away with AUTH_ONLYs for any dollar amount. They wanted merchants to use $0.00 instead as that leaves no frozen funds on a user's card and makes the purpose of the AUTH_ONLY clear. Definitely contact the merchant account provider and see what these rules are and what their level of support for $0.00 AUTHs are.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么