Status Detail: 3045 : The Currency field is missing

ε祈祈猫儿з 提交于 2019-11-27 15:54:02

I had a similar issue, my problem turned out to be a different key was required if posting a form to

test.sagepay.com/gateway/service/vspform-register.vsp

or

live.sagepay.com/gateway/service/vspform-register.vsp

The fact that the Currency field was being sited was a bit of a red herring.

Hope this helps.

I hope you would have solved your issue. In case not try the following.

Search for function pkcs5_pad in your sagepay.php which will be placed in lib folder. And replace the content inside that function as follows:

$pad = $blocksize - (strlen($text) % $blocksize);
return $text . str_repeat(chr($pad), $pad);

I had similar issue, and this solved for me. Let me know if this helps you.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!