使用 authorize.net 获取取消/过期信用卡的状态以进行定期计费 [英] Getting status on canceled/expired credit cards for recurring billing with authorize.net

查看:32
本文介绍了使用 authorize.net 获取取消/过期信用卡的状态以进行定期计费的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在建立一个系统,该系统将使用 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

有人熟悉以自动形式检索此信息的机制吗?我们正在考虑* 只是根据我们自己计算的开始日期列出假设的付款* 根据 ards 的到期日期向客户发送电子邮件

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 获取取消/过期信用卡的状态以进行定期计费的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆