问题描述
我们正在建立一个系统,该系统将使用XML API通过Authorize.net进行自动重复计费.
We're setting up a system that will use the XML API for Automated Recurring Billing with Authorize.net.
看起来很简单,可以设置定期结算.但是我们有两个看似不明显的特征*向客户提供有关个人付款的详细信息*向客户通知已过期/已取消的卡
It looks simple enough to set up a recurring billing. But we have two features that do not seem obvious* providing customers with details on individual payments* providing notification to customers of expired/canceled cards
熟悉自动检索此信息的机制的人吗?我们正在考虑*仅根据我们自己的计算结果列出假定的付款开始日期*根据ard的到期日期向客户发送电子邮件
Anyone familiar with a mechanism to retrieve this info in automated form? We're considering* just listing out assumed payments based on our own calculations the start date* emailing customers based on the expiration date of the ards
但是我很笨拙,如何确定何时因卡被取消而导致交易失败(并自动通知客户).
But I'm stymed on how to figure out when a transaction failed due to canceled card (and automatically notify the customer).
在基于Authorize.net实施基于订阅的服务时,谁能评论他们如何处理此问题?
Can anyone comment on how they handled this issue when implementing a subscription-based service based on Authorize.net?
推荐答案
Authorize.Net最近发布了新的ARB方法"ARBGetSubscriptionStatus".
Authorize.Net has recently published a new ARB method "ARBGetSubscriptionStatus".
您现在可以轻松查询先前提交的ARB订阅的状态,而无需依赖静音发帖方法".
You may now easily query the status of a previously submitted ARB subscription without the need to depend on the "Silent Post Method".
示例:
<?xml version="1.0" encoding="utf-8"?> <ARBGetSubscriptionStatusRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>mytestacct</name> <transactionKey>112223344</transactionKey> </merchantAuthentication> <refId>Sample</refId> <subscriptionId>100748</subscriptionId> </ARBGetSubscriptionStatusRequest>
这篇关于通过authorize.net获取已取消/过期信用卡的状态以进行定期计费的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!