Integration and Testing

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

Reply
Member
Posts: 6
Registered: ‎01-08-2016

PHP SDK Test Request

Hi,

 

When implementing direct post method I can do a test request on a live account by setting parameter test_request=true on the form therefore run tx through live system and not actually charge the card. How do I accomplish the same using the PHP SDK? 

Thanks

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: PHP SDK Test Request

Posts: 2,765
Topics: 57
Kudos: 270
Blog Posts: 67
Registered: ‎12-05-2011

Re: PHP SDK Test Request

@hghesteemed

 

Bear in mind that setting test request = true in your request instructs the gateway to only validate credentials, it will not attempt a transaction and nothing will be saved by the gateway.

 

It is the same as running AuthenticateTestRequest seen here:  http://developer.authorize.net/api/reference/index.html#authentication

 

Richard

Member
Posts: 6
Registered: ‎01-08-2016

Re: PHP SDK Test Request

Looks like it..let me try this out. Thank you

Member
Posts: 6
Registered: ‎01-08-2016

Re: PHP SDK Test Request

Understood. Just need to know what object i should set the parameter on..for PHP SDK. Can't find that in doc. Trying @RaynorC1emen7 's suggestion above. Thank you much