I have this hosted form:
$form .= "<FORM method='post' action='$url' id='paymentform'>";
$form .= "<INPUT type='hidden' name='x_login' value='$login' />";
$form .= "<INPUT type='hidden' name='x_amount' value='$amount' />";
$form .= "<INPUT type='hidden' name='x_description' value='$description' />";
$form .= "<INPUT type='hidden' name='x_invoice_num' value='$number' />";
$form .= "<INPUT type='hidden' name='x_fp_sequence' value='$sequence' />";
$form .= "<INPUT type='hidden' name='x_fp_timestamp' value='$timeStamp' />";
$form .= "<INPUT type='hidden' name='x_fp_hash' value='$fingerprint' />";
$form .= "<INPUT type='hidden' name='x_test_request' value='$testMode' />";
$form .= "<INPUT type='hidden' name='x_show_form' value='PAYMENT_FORM' />";
$form .= "<INPUT type='hidden' name='x_currency_code' value='$currency' />";
$form .= "<INPUT type='hidden' name='x_tax' value='$tax' />";
$form .= "<INPUT type='hidden' name='x_relay_response' value='TRUE' />";
$form .= "<INPUT type='hidden' name='x_receipt_link_url' value='$returnurl' />";
$form .= "<INPUT type='hidden' name='x_first_name' value='$first_name' />";
$form .= "<INPUT type='hidden' name='x_last_name' value='$last_name' />";
$form .= "<INPUT type='hidden' name='x_address' value='$address' />";
$form .= "<INPUT type='hidden' name='x_city' value='$city' />";
$form .= "<INPUT type='hidden' name='x_country' value='$country' />";
$form .= "<INPUT type='hidden' name='x_state' value='$state' />";
$form .= "<INPUT type='hidden' name='x_zip' value='$zip' />";
$form .= "<INPUT type='hidden' name='x_phone' value='$phone' />";
$form .= "<INPUT type='hidden' name='x_fax' value='$fax' />";
$form .= "<INPUT type='hidden' name='x_email' value='$email' />";
My question then is how do I get the transaction response from authorize.net when the form is redirected to:
https://test.authorize.net/gateway/transact.dll
also I cant use silent post since I am using local
Solved! Go to Solution.
06-21-2016 11:03 PM
@RaynorC1emen7 yes I already read that but my relay response always returns the time-out error. Do I need to enable Default Receipt URL if I want to use the relay response? and can relay response be used for a hosted form?
This is really troubling me. thank you once again
06-26-2016 11:49 PM
tried your relay url
http://crmdev2.test.com/suitecrm/returns/index.php
did redirect back to https://www.test.com doesn't look like is a valid url
06-27-2016 05:05 AM
@iamreb You really should be using your domain for this. Otherwise you're going to continue to get Relay Response timeouts, and none of the Relay Response data.
We're trying to send an HTTP POST to your URL, so we can provide the data and copy the HTML output it generates, so it's crucial that you use a URL that's valid on your domain.
06-27-2016 08:18 AM
@Lilith@RaynorC1emen7 thanks for your advice and help everyone, the problem was that authorize was not whitelisted in our server. After adding it to the list everything now works perfectly
06-27-2016 11:30 PM