Reply
Highlighted
Member
Posts: 3
Registered: ‎04-29-2011

getting transaction ID with AIM and PHP

OK so I want to add the Transaction ID to my email/database that I send when a transaction is processed. I am using a cart that I coded myself and I currently only check that the transaction was approves usinf an if statment in PHP if($response->'Approved') I was wondering what variable I would use to get the Transaction ID so I can add it to the email that is sent and my database.

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

Re: getting transaction ID with AIM and PHP

The documentation is centered around XML more than the PHP AIM API, looks like. My advice would be to set up a test page and print_r($response), you can probably work out fairly quickly what format to use to get the transaction ID.