为什么我不能为具有相同数量和间隔的客户资料创建多个订阅?

Why can't I create multiple subscriptions for a customer profile with the same amount and interval?

我正在使用 PHP SDK 在以下流程中为客户创建订阅。

创建客户 -> 添加付款资料 -> 创建订阅。

第一个订阅完美创建。之后,如果我尝试创建一个订阅,而我这边是另一个订阅,但具有相同的数量、间隔和出现次数,我会收到以下错误。

Error Code E00012

"You have submitted a duplicate of Subscription 4362497. A duplicate subscription will not be created."

我遇到的问题是我传递了不同的 refId 和不同的订阅名称。

是否可以创建多个具有相同数量、间隔和出现次数的订阅?必须有一些方法来定义具有相同其他字段的不同订阅。

According to Authorize.Net:

The ARB system checks a new subscription for duplicates, using these fields:

  • subscription.article.merchantID
  • subscription.article.customerInfo.payment.creditCard.cardNumber
  • subscription.article.customerInfo.payment.eCheck.routingNumber
  • subscription.article.customerInfo.payment.eCheck.accountNumber
  • subscription.article.customerInfo.customerID
  • subscription.article.customerInfo.billingInfo.billToAddress.firstName
  • subscription.article.customerInfo.billingInfo.billToAddress.lastName
  • subscription.article.customerInfo.billingInfo.billToAddress.company
  • subscription.article.customerInfo.billingInfo.billToAddress.streetAddress
  • subscription.article.customerInfo.billingInfo.billToAddress.city
  • subscription.article.customerInfo.billingInfo.billToAddress.stateProv
  • subscription.article.customerInfo.billingInfo.billToAddress.zip
  • subscription.orderInfo.amount
  • subscription.orderInfo.invoice
  • subscription.recurrence.startDate
  • subscription.recurrence.interval
  • subscription.recurrence.unit

If all of these fields are duplicated in an existing subscription, E00012 will result. Modifying any of these fields should result in a unique subscription.

发票编号似乎是修改以使每个订阅唯一的最佳字段。