Thank you for using my plugin.
I need you to do a thing for me. You need to paste the following code in the empty space before the line 567, before the the code – if( strtolower($shasignxy) == strtolower($SHASIGN) ){
the code to be pasted-
var_dump($_GET);
var_dump($x);
var_dump($_GET);
var_dump(strtolower($shasignxy));
var_dump(strtolower($SHASIGN));
This code is to find out where is the real problem occuring. This is the place where the plugin verifies the transaction. Check that both the $_GET
and $x
arrays contain the same elements (key value pairs). Then check the $shasignxy
and $SHASIGN
are the same. If the last two are not same, you’ll get that error.
You can see in the codes of some preceding lines that $x
is just storing the values delivered by the Barcleys and hashing them based on the SHA-OUT code. So if the problem is arising frequently then you need to be sure that there is problem in the values which are used to generate the pass phrase.
Now you need to try to recreate the pass phrase (shasign) by digesting the key value pairs and check if they matches in any point. You can simply comment out any key => value pair from the array $x
and reload the page where you’ve seen the text ‘Transaction Verification Error’.
Please this is a trial and error process, so that don’t become impatient. But first I will recommend you to read the instruction manuals of Barcleys to get a better understanding of the parameters and how to configure them.
Please drop a comment what you’ve got after trying this. Since I can’t see the actual error, this is the best I can do for you.
Thanks again.