cancel
Showing results for 
Search instead for 
Did you mean: 

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

hghesteemed
Member
4 REPLIES 4

@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

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

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