cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Error code 99


<?php
$loginID = "xxxxxx";
$transactionKey = "xxxxxxxxxxx";

$invoice = date('YmdHis');
$sequence = rand(1, 1000);
$timeStamp = time();
$testMode = "false";
$company="Stay In Brooklyn NY";
$amount =$Amtdetailid['package_amount'];
if( phpversion() >= '5.1.2' )
{ $fingerprint = hash_hmac("md5", $loginID . "^" . $sequence . "^" . $timeStamp . "^" . $amounts . "^", $transactionKey); }
else
{ $fingerprint = bin2hex(mhash(MHASH_MD5, $loginID . "^" . $sequence . "^" . $timeStamp . "^" . $amounts . "^", $transactionKey)); }

?>
<form id="contactfrm" method="post" name="contactfrm" action="https://secure.authorize.net/gateway/transact.dll" style="margin-top:60px">
<input type='hidden' name='x_login' value='xxxxxxxx' />
<input type="hidden" value="50.00" id="amount" name="x_amount">
<input type="hidden" value="114" name="x_cust_id">
<input type="hidden" value="2" name="amtid">
<input type="hidden" value="14 Days" name="x_description">


<input type='hidden' name='x_show_form' value='PAYMENT_FORM' />

<input type='hidden' name='x_invoice_num' value='1380831389' />
<input type='hidden' name='x_fp_sequence' value='654' />
<input type='hidden' name='x_fp_timestamp' value='1380831389' />
<input type='hidden' name='x_fp_hash' value='2864d1084434450ce9633ef1f8e2e61a25dc' />

<input type='hidden' name='x_recurring_billing' value='yes' />
<INPUT TYPE=HIDDEN NAME="x_receipt_link_method" VALUE="LINK">
<INPUT TYPE=HIDDEN NAME="x_receipt_link_text" VALUE="Click here to return
to our home page">
<INPUT TYPE=HIDDEN NAME="x_receipt_link_URL" VALUE="http://stayinbrooklynny.com/payment/success">

<input type="hidden" name="x_relay_response" value="TRUE">
<input type="hidden" name="x_relay_url" value="http://stayinbrooklynny.com/payment/authorizenotify">


<input type='hidden' name='x_cancel_url' value='https://stayinbrooklynny.com/payment/error' />
<input type="hidden" name="x_type" value="AUTH_CAPTURE"/>
<input type='hidden' name='x_Color_Background' value='#fff' />
<input type='hidden' name='x_Color_Text' value='#000' />
<input type='hidden' name='x_Logo_URL' value='https://stayinbrooklynny.com/design/img/stay-in-brooklyn-ny-logo.png' />
<input type='hidden' name='x_test_request' value='false' />
<div class="row">


</div>
<br>
<div style="clear:both;"></div>

<div class="row">
<div class="span2">
<label for="fname">First Name</label>
</div>
<div class="span3">
<input type="text" name="x_First_Name" id="x_First_Name" value="goweb" >
<div id="contactfrm_x_First_Name_errorloc" class="error_strings" ></div>
</div>
</div>
<div class="row">
<div class="span2">
<label for="lname">Last Name</label>
</div>
<div class="span3">
<input type="text" name="x_Last_Name" id="x_Last_Name" value="com">
<div id="contactfrm_x_Last_Name_errorloc" class="error_strings" ></div>
</div>
</div>

<div class="row">
<div class="span2">
<label for="email">Email</label>
</div>
<div class="span3">
<input type="text" name="x_Email" id="x_Email" value="info@goweb99.com">
<div id="contactfrm_x_Email_errorloc" class="error_strings" ></div>
</div>
</div>

<div class="row">
<div class="span2">
<label for="address">Address</label>
</div>
<div class="span3">
<input type="text" name="x_Address" id="x_Address">
<div id="contactfrm_x_Address_errorloc" class="error_strings" ></div>
</div>
</div>

<div class="row">
<div class="span2">
<label for="state">City</label>
</div>
<div class="span3">
<input type="text" name="x_City" id="x_City">
<div id="contactfrm_x_City_errorloc" class="error_strings" ></div>
</div>
</div>
<div class="row">
<div class="span2">
<label for="state">State</label>
</div>
<div class="span3">
<input type="text" name="x_State" id="x_State">
<div id="contactfrm_x_State_errorloc" class="error_strings" ></div>
</div>
</div>

<div class="row">
<div class="span2">
<label for="zip">Zip Code</label>
</div>
<div class="span3">
<input type="text" name="x_Zip" id="x_Zip">
<div id="contactfrm_zip_errorloc" class="error_strings" ></div>
</div>
</div>
<div class="row">
<div class="span2">
&nbsp;
</div>
<div class="span4">
Have Promo Code?<br><input type="text" name="pcode" id="pcode" value="">
<input type="button" name="action" id="action" value="Apply Promo Code "><br />
<span id="promomsg"></span>

</div>
</div>

<div class="row">
<div class="span3">
<button type="submit" name="contactsub" class="btn-large">Send</button>
</div>
</div>

</form>

goweb99
Member
2 REPLIES 2
RaynorC1emen7
Expert
Well, something is obviously wrong with the hash. Have you tried using the PHP API to construct the hash, rather than doing it on your own?
TJPride
Expert