payfort 无效的额外参数

payfort Invalid extra parameters

我正在使用 payfort 商户页面。

当我制作令牌时,请求成功,但当我尝试购买时,我收到“无效的额外参数”代码 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

现在可以用了,只是 curl 被用来发送请求和取回响应,但它在我的 php.ini 中被禁用了,所以在添加 curl 扩展后就可以了。