Integration and Testing

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

Posts: 1
Registered: ‎09-11-2011

Step by Step Integration

Hi, I am a newbie at, I need a tutorial step by step to connect my web with, anyone kindly help me?? 


I've tried, but only produces this :

via direct_post.php

An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

      This transaction has been approved.

It is advisable for you to contact the merchant to verify that you will receive the product or service.


via sample_codes


We're sorry, but we can't process your order at this time due to the following error:

  The merchant login ID or password is invalid or the account is inactive.


response code 3

response reason code 13 


 Help me please :mansad:

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

Re: Step by Step Integration

[ Edited ]

Don't know about the first error, but the second is probably because the sample code is for running on a production account and you're using a sandbox account. You need to set sandbox to true:



 As I say to everyone, you're much better off downloading the SDK and then looking at the .markdown files in the doc folder. The sample code there is generally of more help.


EDIT: How much experience do you have with PHP?