Magento-页面未通过Authorize.net付款提交订单后重定向到成功页面

时间:2018-11-06 13:09:19

标签: magento payment checkout authorize.net orders

我们在某些商店订单中遇到了问题,这些商店的交易通过authorize.net进行。我们看到了他们进行交易时的奇怪行为。正在订购的客户未重定向到成功页面,而是显示了错误。由于这种误解,客户订购了两次。因此,由于该问题,进行了双重交易。在magento网站服务器中的“ payment.log”文件中,响应中显示“ Ok”消息,但请求和响应之间相差约12秒。 该交易确实已放置在authorize.net网站上,并且订单在magento 2 admin中具有处理状态。

payment.log请求响应:

[2018-10-22 15:31:54] main.DEBUG: array (
'request' => 
array (
'x_version' => '3.1',
'x_delim_data' => 'FALSE',
'x_relay_response' => 'TRUE',
'x_test_request' => 'FALSE',
'x_login' => '****',
'x_method' => 'CC',
'x_relay_url' => 'https://www.blazingglass.com/authorizenet/directpost_payment/response',
'x_type' => 'AUTH_CAPTURE',
'x_fp_sequence' => '1375',
'x_invoice_num' => '000000649',
'x_amount' => 736.0,
'x_currency_code' => 'USD',
'x_tax' => '0.00',
'x_freight' => '0.00',
'x_first_name' => 'Paul',
'x_last_name' => 'Noonan',
'x_company' => '',
'x_address' => '5 Oweno Place',
'x_city' => 'MAHWAH',
'x_state' => 'New Jersey',
'x_zip' => '07430',
'x_country' => 'US',
'x_phone' => '2013208170',
'x_fax' => '',
'x_cust_id' => '',
'x_customer_ip' => '74.105.126.33',
'x_customer_tax_id' => '',
'x_email' => 'luap5595@aol.com',
'x_email_customer' => '0',
'x_merchant_email' => '',
'x_ship_to_first_name' => 'Paul',
'x_ship_to_last_name' => 'Noonan',
'x_ship_to_company' => '',
'x_ship_to_address' => '5 Oweno Place',
'x_ship_to_city' => 'MAHWAH',
'x_ship_to_state' => 'New Jersey',
'x_ship_to_zip' => '07430',
'x_ship_to_country' => 'US',
'x_po_num' => '',
'x_fp_timestamp' => 1540222314,
'x_fp_hash' => '74baf11480c3ebcdff67993ce1010a68',
),
) [] []
[2018-10-22 15:32:07] main.DEBUG: array (
'response' => 
array (
'x_response_code' => '1',
'x_response_reason_code' => '1',
'x_response_reason_text' => 'This transaction has been approved.',
'x_avs_code' => 'Y',
'x_auth_code' => '294912',
'x_trans_id' => '41011978127',
'x_method' => 'CC',
'x_card_type' => 'American Express',
'x_account_number' => 'XXXX3002',
'x_first_name' => 'Paul',
'x_last_name' => 'Noonan',
'x_company' => '',
'x_address' => '5 Oweno Place',
'x_city' => 'MAHWAH',
'x_state' => 'New Jersey',
'x_zip' => '07430',
'x_country' => 'US',
'x_phone' => '2013208170',
'x_fax' => '',
'x_email' => 'luap5595@aol.com',
'x_invoice_num' => '000000649',
'x_description' => '',
'x_type' => 'auth_capture',
'x_cust_id' => '',
'x_ship_to_first_name' => 'Paul',
'x_ship_to_last_name' => 'Noonan',
'x_ship_to_company' => '',
'x_ship_to_address' => '5 Oweno Place',
'x_ship_to_city' => 'MAHWAH',
'x_ship_to_state' => 'New Jersey',
'x_ship_to_zip' => '07430',
'x_ship_to_country' => 'US',
'x_amount' => '736.00',
'x_tax' => '0.00',
'x_duty' => '0.00',
'x_freight' => '0.00',
'x_tax_exempt' => 'FALSE',
'x_po_num' => '',
'x_MD5_Hash' => '0B8AB4D90541777A4A199520774DC414',
'x_SHA2_Hash' => '',
'x_cvv2_resp_code' => 'M',
'x_cavv_response' => '',
'x_test_request' => 'false',
'controller_action_name' => 'directpost_payment',
'is_secure' => '1',
),
) [] []

0 个答案:

没有答案