View Full Version : verify signatures error when using cc
clblew
June 20th, 2005, 09:46 PM
When using payment choice of credit card, user gets the error...
We're sorry, but our payment processor has returned an error, and cannot process this transaction.
Specific error returned: Unable to verify signatures. Please report this to merchant.
Please try this transaction later. If this problem persists, please email us, and we will assist you.
Can do other payment choices just fine, just credit card gives this. any ideas?
Christy Blew
Jamie
June 21st, 2005, 12:55 AM
Hi Christy,
That error is specific to your payment gateway. Which one are you using?
clblew
June 21st, 2005, 09:25 AM
Oops, meant to note that. I am using Cybersource. I contacted them and they said that it had to be with my shopping cart. I followed the set up directions in SquirrelCart for the Cybersource setup.
christy
tqla
May 11th, 2006, 01:01 PM
I know that this was a year ago but I am getting the same problem using Cybersource and SC. How did you fix it? I have a support ticket in but thay havn't got back to me yet.
Jamie
May 12th, 2006, 09:57 AM
Hi,
We will reply to your ticket soon, but for the benefit of others that may have this problem, here's the solution...
After Christy spoke several times with CyberSource support, they indicated that this is a bug in their code, in the HOP.php file that you download from them. It doesn't occur for everyone...just certain PHP installations. Why they have not fixed it after a year is a mystery.
The fix, provided by them, is as follows:
1. Open your cybersource_HOP.php file
2. Find this section of code by searching for "function cybs_sha1":
function cybs_sha1($in) {
$indx = 0;
$chunk = ";
3. Immediately below the "function cybs_sha1($in) { " line, add this:
return pack ("H*", sha1 ($in));
The end result should look something like this:
function cybs_sha1($in) {
return pack ("H*", sha1 ($in));
$indx = 0;
$chunk = ";
// etc....
4. Save the file
tqla
May 12th, 2006, 02:02 PM
It's at line 32 of the HOP file.
rightminddesign
August 4th, 2006, 03:58 PM
I am having the same issue on a cart and making the change listed here (and the other listed in their knowledgebase) does not remove the error.
Any other suggestions?:cool:
rightminddesign
August 4th, 2006, 03:59 PM
This is version 1.6, btw.
rightminddesign
August 4th, 2006, 04:08 PM
And in case anyone else has the same issue, and it does not resolve with the code suggested above, Cybersource recommends then trying this code at line 32:
return mhash (MHASH_SHA1, $in) ;
And your code would then look like this:
function cybs_sha1($in) {
return mhash (MHASH_SHA1, $in) ;
$indx = 0;
$chunk ='''';
Neither of these suggestions helped me, though.:confused:
aashen
January 3rd, 2007, 08:51 PM
Having the same issues with Cybersource. Tried both suggestions and neither worked. First suggestion shows same signature error. Second suggestion says "fatal error". Did anybody find a way to resolve this problem? Any suggestions would be greatly appreciated. Would hate to go through the trouble of switching payment gateways.
Thanks,
Anthony
dansim123
December 18th, 2007, 12:50 PM
Hello,
I am having the same problem as Anthony did in that neither script update fixed the problem; I received the exact same error messages using Cybersource.
Has there been any new information on correctly generating a script from Cybersource?
Thanks,
Dan S - WilliamWoodbury.com
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.