Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ARB Subscription Callback


skash23

Recommended Posts

Hi,

 

I have signed up for a production account on AUTHROIZE.NET, and have configured the silent callback url by following these instructions

 

1. Log into the Merchant Interface at https://secure.authorize.net

2. Click Settings under Account in the main menu on the left

3. Click Silent Post URL in the Transaction Format Settings section

4. Enter the secondary URL to which you would like the payment gateway to copy the transaction response

5. Click Submit

 

I am using xml api to create suscription, it returns me 200 OK status and a new subscription ID

I have following piece of code working on my silent callback url

 

$conn = mysql_connect($host, $user, $password);

mysql_select_db($dbName, $conn);

$text = "POST VARS:".var_export($_POST, true)."\n\nGET VARS:".var_export($_GET, true)."\n\nSERVER VARS:".var_export($_SERVER, true)."\n\n\n";

$query = 'INSERT INTO TABLE_NAME( FIELD_NAME ) VALUES("'.mysql_escape_string($text).'")';

mysql_query($query, $conn);

mysql_close($conn);

echo 1;

exit;

 

If i hit callback url directly, it works

But authorize.net never post data on site callback url. I have contacted Authorize.net support many times, but they have no idea, Final response from them was to post on Forums

 

Can anybody help me please to get out of this jam condition

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...