我正在为其中一个项目使用Cybersource支付网关。
在沙盒模式下,当我付款少于2000美元时,会出现如下错误:
{
"utf8": "✓",
"req_card_number": "xxxxxxxxxxxx0004",
"req_locale": "en",
"signature": "CsAocZRprW4m/SZQmaFLLiG7FQ55LVOrd5oQ342Ikr0=",
"req_card_type_selection_indicator": "1",
"req_bill_to_surname": "test",
"req_bill_to_address_city": "test",
"req_card_expiry_date": "02-2020",
"req_bill_to_address_postal_code": "12231",
"reason_code": "203",
"auth_response": "303",
"req_bill_to_forename": "test",
"req_payment_method": "card",
"request_token": "Ahj77wSTIH0d5owGkfErEUuPy7nKACS4/LucoNII9TAgCky9JMvRiundKAOkyB9HeaMBpHxKwAAA9APe",
"req_amount": "1200",
"req_bill_to_email": "test@trext.com",
"transaction_id": "5321677908746496504107",
"req_currency": "USD",
"req_card_type": "002",
"decision": "DECLINE",
"message": "We encountered a Paymentech problem: Reason: Processor Decline.",
"signed_field_names": "transaction_id,decision,req_access_key,req_profile_id,req_transaction_uuid,req_transaction_type,req_reference_number,req_amount,req_currency,req_locale,req_payment_method,req_bill_to_forename,req_bill_to_surname,req_bill_to_email,req_bill_to_address_line1,req_bill_to_address_line2,req_bill_to_address_city,req_bill_to_address_country,req_bill_to_address_postal_code,req_card_number,req_card_type,req_card_type_selection_indicator,req_card_expiry_date,message,reason_code,auth_avs_code,auth_response,request_token,signed_field_names,signed_date_time",
"req_transaction_uuid": "5b53064a835dd",
"auth_avs_code": "1",
"req_bill_to_address_country": "TW",
"req_transaction_type": "authorization",
"req_access_key": "b187124a88c434fd83d5c231073d3cff",
"req_profile_id": "5AFB52E0-B68E-477C-9605-C400061D07E0",
"req_reference_number": "35",
"req_bill_to_address_line2": "test",
"signed_date_time": "2018-07-21T10:09:50Z",
"req_bill_to_address_line1": "test"
}
超过$ 2000,就可以正常工作。
谁能告诉我为什么会这样吗?是沙盒模式的功能吗?
答案 0 :(得分:0)
您需要与商家帐户提供商Paymentech联系,因为他们正在拒绝错误消息中所述的交易。这不是编码问题。
答案 1 :(得分:0)
在CAS请求中,不要点击付款处理器,而是点击模拟器。特定数量以及其他字段用于触发特定响应以进行测试。参见:https://www.cybersource.com/developers/getting_started/test_and_manage/simple_order_api/