nBill Community nBill Home Page
21/May/2012, 10:30:43 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Hash Value error - Quantum gateway  (Read 1749 times)
Hoosier3D
Jr. Member
**
Offline Offline

Posts: 24


View Profile WWW
« on: 28/October/2009, 08:30:28 PM »

I have searched the existing forum posts and am not finding a solution.  I am getting the follow error after a successful card transaction upon return to my site:

"The Hash value returned by the Quantum Gateway in the callback does not match the hash value calculated by the gateway (this could indicate a spoof callback). Please check the MD5 Hash Value is correct both in your payment gateway settings and in the merchant interface."

I have tried changing the MD5Hash value and leaving it bland.  Neither one works.  Any suggestions would be greatly appreciated!
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 28/October/2009, 08:33:21 PM »

The hash value has to be specified in BOTH the nBill gateway settings AND at the merchant control panel with the payment service provider. Make sure you are using identical values in both places.
Logged
Hoosier3D
Jr. Member
**
Offline Offline

Posts: 24


View Profile WWW
« Reply #2 on: 28/October/2009, 09:01:32 PM »

I have verified they match and again have tried not using a value at all. 
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #3 on: 28/October/2009, 09:05:34 PM »

Ok, well I did not write the Quantum gateway, so in the first instance I suggest you try asking the authors of that gateway (http://www.axsystechgroup.com). If they are unwilling or unable to help (they are not under any obligation, as it was freely donated), please raise a support ticket giving me access to your site so I can try and look into it myself.
Logged
Hoosier3D
Jr. Member
**
Offline Offline

Posts: 24


View Profile WWW
« Reply #4 on: 28/October/2009, 09:21:09 PM »

Actually, I have contacted Ken Ramirez in the past about the gateway and he has been kind enough to help.  This time it is being used on a new site with a new nBill license.  I am assuming he is just too busy to respond, since it has been a couple of days.  I actually looked back through old trouble tickets of mine and realized that we had the same issue before, but you commented out a line somewhere that basically canceled the Hash check.  That would be a satisfactory solution for me until I can get the problem resolved.

If you would just tell me what file and line# to comment out, I can do that myself.  Or I will raise the ticket if that is better! 

Thanks for your help!  You are always very helpful and prompt and it is much appreciated!   Smiley
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #5 on: 29/October/2009, 10:08:21 AM »

You could just copy the gateway files from the other installation that is working.

Or, looking at the code, I would say it is probably lines 140 to 145 (inclusive) and line 163 that need to be commented out in the /components/com_netinvoice/gateway/quantum/quantum.php file (just put 2 slashes // at the start of each of those lines)
Logged
Hoosier3D
Jr. Member
**
Offline Offline

Posts: 24


View Profile WWW
« Reply #6 on: 04/November/2009, 03:04:21 AM »

Thanks for your help!  That worked!  Smiley  The only issue now is that the invoice shows "part paid" although the amount of the invoice matches the gateway receipt.   Huh
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #7 on: 04/November/2009, 10:03:48 AM »

That sounds odd - are you sure it matches exactly? If so, please raise a support ticket as I will need to login and take a look.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!