1

我正在使用付费商家页面。

当我制作令牌时,请求成功,但当我尝试购买时,我得到“无效的额外参数”代码 00027

这是 TOKENIZATION 的要求

请求日志

card_security_code  ***
card_number 523761******2016
service_command TOKENIZATION
signature   $signature
merchant_identifier ZDFytEce
merchant_reference  $merchant_ref
access_code $access_code
expiry_date ***
return_url  TOKEN_RETUEN_URL
language    en

响应日志

response_code   18000
card_number 
signature   i have removed signature
merchant_identifier 
expiry_date ***
access_code 
language    en
response_message    Success
service_command TOKENIZATION
merchant_reference   i have removed it 
token_name  E61B3D3066C611EAB1270AC1838006C8
return_url   i have removed it 
status  18
card_bin     i have removed it 

这是失败的购买请求

Request Log
amount  10000
signature   $signature
merchant_identifier $merhcanct
access_code $accees_code
customer_ip ::1
language    en
command PURCHASE
merchant_reference  $merchant_ref
customer_email  ahmed@email.com
token_name  1551899mwGbPzTwdbP3JAX9eCmENqu
return_url  PRUCHASE_RETURN
currency    EGP
customer_name   Ahmed 

响应日志

amount  10000
response_code   00027
signature   i have removed it 
merchant_identifier i have removed it
access_code i have removed it
customer_ip ::1
language    en
command PURCHASE
response_message    Invalid extra parameters   // error here
merchant_reference  11125-1584279525
customer_email  ahmed@email.com
currency    EGP
customer_name   Ahmed 
status  00
4

1 回答 1

0

它现在可以工作了,只是 curl 用于发送请求并返回响应,但它在 my 中被禁用php.ini,所以在添加 curl 扩展后它就解决了。

于 2020-06-28T08:00:59.947 回答