Showing results for 
Search instead for 
Did you mean: 

SIM testing not working

Hey all i am in need of some help.


When i try to submit the code below i get an error of:

3,2,13,The merchant login ID or password is invalid or the account is

inactive.,,P,0,,,4.99,,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,D1A169FCE81B93T56487953EB3A87FA5C,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, My


My code is this:

require_once 'anet_php_sdk/AuthorizeNet.php'; // Include the SDK you downloaded in Step 2
$api_login_id = 'MyLoginID';
$transaction_key = 'MyTransactionKey';
$amount = "5.99";
$fp_timestamp = time();
$fp_sequence = "123" . time(); // Enter an invoice or other unique number.
$fingerprint = AuthorizeNetSIM_Form::getFingerprint($api_login_id, $transaction_key, $amount, $fp_sequence, $fp_timestamp)

<form action="" method="post">
    <input type="hidden" value="TRUE" name="x_delim_data">
    <input type="hidden" value="<?php echo $fingerprint?>" name="x_fp_hash">
    <input type="hidden" value="<?php echo $fp_sequence?>" name="x_fp_sequence">
    <input type="hidden" value="<?php echo $fp_timestamp?>" name="x_fp_timestamp">
    <input type="hidden" value="<?php echo $api_login_id?>" name="x_login">
    <input type="hidden" value="TRUE" name="x_relay_response">
    <input type="hidden" value="" name="x_relay_url">
    <input type="hidden" value="3.1" name="x_version">
    <input type="hidden" value="," name="x_delim_char">
    <input type='hidden' name="x_method" value="cc">
    <INPUT TYPE="hidden" NAME="x_invoice_num" VALUE="ORDER-002450">
    <input type='hidden' name="x_show_form" value="payment_form">
    <input type='hidden' name="x_test_request" value="false" />
            <label>Invoice Amount</label>
            <input type="text" value="" name="x_amount" size="15" class="text">
            <label>Credit Card Number</label>
            <input type="text" value="" name="x_card_num" size="15" class="text">
            <input type="text" value="" name="x_exp_date" size="4" class="text">
            <input type="text" value="782" name="x_card_code" size="4" class="text">
            <label>First Name</label>
            <input type="text" value="" name="x_first_name" size="15" class="text">
            <label>Last Name</label>
            <input type="text" value="" name="x_last_name" size="14" class="text">
            <input type="text" value="" name="x_address" size="26" class="text">
            <input type="text" value="" name="x_city" size="15" class="text">
            <input type="text" value="" name="x_state" size="4" class="text">
           <label>Zip Code</label>
           <input type="text" value="" name="x_zip" size="9" class="text">
            <input type="text" value="US" name="x_country" size="22" class="text">
        <input type="submit" class="submit buy" value="BUY">


Any help would be great!






Good news and bad news.

Good news is that is a easy fix. You are posting to the test server using your production loginid and transKey.

The production server is


Bad news is that you NEED to change your transKey since you post it for everyone to see(and misuse).

Admin can you please delete this post?