Integration and Testing

Authorize.Net API questions and help with your payment integration.

Posts: 1
Registered: ‎04-26-2013

fetching transaction id pragmatically against subscription ID

Dear All,
I've successfully implemented the ARB method in java. On each successful schedule I got 'subscription ID'. Now I want to show all successful payments happen in that subscription; ie need transaction ID to persist in my database against subscription ID. How I can achieve this?

Posts: 1,609
Topics: 15
Kudos: 209
Solutions: 121
Registered: ‎06-23-2011

Re: fetching transaction id pragmatically against subscription ID

Use silent post to record each transaction in your database as it comes in. Probably by matching on customer ID. Short of that, you can use the Transaction Details API to look up all settled transactions and record them in your database. Either way, you're going to want to record transactions on your end so you can look them up later, since has no way to just pass a subscription ID and get all transactions for that subscription.