ARB Transaction has no subscription data attached

We have a membership that is 2 weeks (14 days) free, then ~$35/month afterwards.

 

So the ARB subscription is created with a start date 2 weeks into the future.

 

[refId] => 9419EF760A2922539392
[subscription] => Array (
  [name] => Membership with free trial
  [paymentSchedule] => Array (
    [interval] => Array (
      [length] => 1
      [unit] => months
    )
    [startDate] => 2019-04-05
    [totalOccurrences] => 9999
  )
  [amount] => 35.00
  [payment] => Array (
    [creditCard] => Array (
      [cardNumber] => 4111111111111111
      [expirationDate] => 12-2019
      [cardCode] => 123
    )
  )
  [order] => Array (
    [invoiceNumber] => 9419EF760A2922539392
    [description] => Membership with free trial
  )
  [billTo] => Array (
    [firstName] => Test
    [lastName] => Person
  )
)

When the Webhook is recieved and we poll for the transaction data, the response has NO `subscription` data with it like we would expect.

 

Here's a sample of the data we're getting about the transaction:

[transaction] => (
  [transId] => 61627073813
  [submitTimeUTC] => 2019-03-20T10:46:44.95Z
  [submitTimeLocal] => 2019-03-20T03:46:44.95
  [transactionType] => authCaptureTransaction
  [transactionStatus] => capturedPendingSettlement
  [responseCode] => 1
  [responseReasonCode] => 1
  [responseReasonDescription] => Approval
  [authCode] => 020636
  [AVSResponse] => Y
  [order] => (
    [invoiceNumber] => 800774C638E101805611
    [description] => Personal
    [discountAmount] => 0
    [taxIsAfterDiscount] =>
  )
  [authAmount] => 35
  [settleAmount] => 35
  [taxExempt] =>
  [payment] => (
    [creditCard] => (
      [cardNumber] => XXXX1111
      [expirationDate] => XXXX
      [cardType] => Visa
    )
  )
  [billTo] => (
    [firstName] => Test
    [lastName] => Person
    [address] => 123 Fake Street
    [city] => Some City
    [state] => TX
    [zip] => 55555
    [country] => US
  )
  [recurringBilling] =>
  [product] => Card Not Present
  [marketType] => eCommerce
)
[messages] => (
  [resultCode] => Ok
  [message] => (
    [0] => (
      [code] => I00001
      [text] => Successful.
    )
  )
)

In some cases `[recurringBilling] =>` will be `[recurringBilling] => 1` and in others its just empty.

 

But there's no indication of the subscription this transaction was for.

 

Here's a sample of what we would expect to be getting:

[transaction] =>  (
  [transId] => 40027109996
  [submitTimeUTC] => 2019-03-22T09:08:21.73Z
  [submitTimeLocal] => 2019-03-22T02:08:21.73
  [transactionType] => authCaptureTransaction
  [transactionStatus] => capturedPendingSettlement
  [responseCode] => 1
  [responseReasonCode] => 1
  [subscription] =>  (
    [id] => 5707378
    [payNum] => 1
  )
  [responseReasonDescription] => Approval
  [authCode] => XC8BL5
  [AVSResponse] => Y
  [cardCodeResponse] => P
  [order] =>  (
    [invoiceNumber] => 9415F30319B437831972
    [description] => Membership without free trial
    [discountAmount] => 0
    [taxIsAfterDiscount] =>
  )
  [authAmount] => 35
  [settleAmount] => 35
  [taxExempt] =>
  [payment] =>  (
    [creditCard] =>  (
      [cardNumber] => XXXX1111
      [expirationDate] => XXXX
      [cardType] => Visa
    )
  )
  [billTo] =>  (
    [firstName] => Test
    [lastName] => Person
  )
  [recurringBilling] =>
  [product] => Card Not Present
  [marketType] => eCommerce
)
[messages] =>  (
  [resultCode] => Ok
  [message] =>  (
    [0] =>  (
      [code] => I00001
      [text] => Successful.
    )
  )
)

Which does have some `subscription` data.

 

Can you please help me figure out why there's no `subscription` data in our transaction poll data?

cartpauj
Contributor
Who Me Too'd this topic