I'm using the Ruby library to try and get the transaction history for either a customer or an ARB subscription.
I confirmed the Transaction Details API is enabled.
The transactions are reported in the UI:
Here's a code sample:
transaction = Transaction.new(api_login_id, transaction_key, gateway: 'sandbox') request = GetTransactionListForCustomerRequest.new request.customerProfileId = '1505270746' response = transaction.get_transaction_list_for_customer(request) response.transactions => nil ### request = ARBGetSubscriptionRequest.new request.subscriptionId = '5341988' response = transaction.arb_get_subscription_request(request) response.subscription.arbTransactions => nil
Are these transaction done as part of ARB ? If so you will not see the transaction in the GetTransactionListForCustomerRequest call, in the GetTransactionListForCustomerRequest you only see the transcations exclusively charged against the customer profile.
You will be able to get these transaction in the ARBGetSubscriptionRequest response. But as I cann see you are not getting these transaction, I believe you might have missed to set the flag includeTransactions as true, and hence you are not getting any transactions in response.
You need to add something like to your ARBGetSubscriptionRequest
request.includeTransactions = true
Happy Coding !