我正在使用https://nabvelocity.com/solutions/checkout/e-commerce-integration/authorize/authorize/
集成速度。我已经使用链接中提到的URL创建了表单,但是每次都会出现终端配置文件的错误。从我必须通过ID的地方?
这是代码
<?php
include 'vendor/autoload.php';
include 'vendor/authorizenet/authorizenet/lib/AuthorizeNetSIM.php';
?>
<form method="post" action="https://api.cert.nabcommerce.com/VGate/1.0/AuthorizeNet/SimContainer.aspx">
<?php
$amount = "9.99";
$fp_sequence = "123";
$time = time();
$api_login = 'EPX Retail Test';
$transaction_key = '8D9DE00001';
$fingerprint = AuthorizeNetSIM_Form::getFingerprint($api_login, $transaction_key, $amount, $fp_sequence, $time);
$sim = new AuthorizeNetSIM_Form(
array(
'x_amount' => $amount,
'x_fp_sequence' => $fp_sequence,
'x_fp_hash' => $fingerprint,
'x_fp_timestamp' => $time,
'x_relay_response' => "FALSE",
'x_login' => $api_login,
"x_type" => "AUTH_CAPTURE",
"x_method" => "CC",
"x_card_num" => '4242424242424242',
"x_exp_date" => '12/22',
"x_description" => "Live Transaction",
"x_card_code" => '123',
"x_first_name" => 'anamica',
"x_address" => 'demo',
"x_city" => 'delhi',
"x_state" => 'delhi',
"x_zip" => '110045',
"x_country" => 'India',
)
);
echo $sim->getHiddenFieldString(); ?>
<input type="submit" value="Buy Now" data>
</form>
获取此URL所需的错误终端配置文件
这不是编码问题。这是一个设置问题。您的授权.net帐户设置为"存在卡片",而不是不存在卡。因此,您显然没有使用信用卡读取器的信息。您需要联系授权。NET支持并让他们更正您的帐户设置。