i am using `php-sdk` and wanted to save the entire transaction response into json as shown on the API Live console, but in the sample code here https://github.com/AuthorizeNet/sample-code-php/blob/master/TransactionReporting/get-transaction-det... i can see any example provided to set the response type to `JSON`, is it supported?
Solved! Go to Solution.
12-24-2018 02:12 AM - edited 12-24-2018 02:13 AM
@Renaissance wrote:There is no need to set anything. The response is in Json format by default.
NOTE: The result in JSOn by deault as mentioned by @Renaissance in-case you are using the sdk version 2.0.0-ALPHA or above.
12-27-2018 11:24 PM
There is no need to set anything. The response is in Json format by default.
12-27-2018 09:18 PM
@Renaissance wrote:There is no need to set anything. The response is in Json format by default.
NOTE: The result in JSOn by deault as mentioned by @Renaissance in-case you are using the sdk version 2.0.0-ALPHA or above.
12-27-2018 11:24 PM
@kikmak42Yes you are right about that JSON response is not supported untillthe 2.0.0 Alpha version which isnt stable enough to be used on production environment as stated at the release link https://github.com/AuthorizeNet/sdk-php/releases/tag/2.0.0-ALPHA , so i guess currently there isnt any way to use it untill the stable verion is released for the php-sdk.
Thanks for your response.
12-28-2018 12:20 AM - edited 12-28-2018 12:20 AM