我有一个来自 Ogone 的测试帐户,我正在尝试测试支付系统。出于测试目的,我用最少的参数构建了一个字符串:
$ogoSHAstring = "AMOUNT=" . $amount . $signature .
"CURRENCY=" . $currency. $signature .
"LANGUAGE=" . $language . $signature .
"ORDERID=" . $orderId . $signature .
"PSPID=" . $pspId . $signature;
它产生一个如下所示的字符串:
AMOUNT=990MySecretPassphrase!!CURRENCY=EURMySecretPassphrase!!LANGUAGE=nl_NLMySecretPassphrase!!ORDERID=67MySecretPassphrase!!PSPID=MyPSPIDMySecretPassphrase!!
哪个是散列到
1B8B605EAEF8E2FD9350958C0B152E22FD61FADB
发送的表格如下所示:
<form id='ogone' action='https://secure.ogone.com/ncol/test/orderstandard.asp' method='post'>
<input type='hidden' name='AMOUNT' value='$amount' />
<input type='hidden' name='CURRENCY' value='$currency' />
<input type='hidden' name='LANGUAGE' value='$language' />
<input type='hidden' name='ORDERID' value='$orderId' />
<input type='hidden' name='PSPID' value='$pspId' />
<input type='hidden' name='SHASIGN' value='$ogoSHAsign' />
</form>
但我不断收到错误消息:
unknown order/1/r/
这些是我的设置:
有什么帮助吗?