Welcome, Guest. Please login or register.
Login with username, password and session length


VirtueMart 1.1.8 - [SECURITY RELEASE] is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
VirtueMart ForumVirtueMart 1.1.xPaymentAuthorize.netAuthorize.net decline card error NOT displaying
Pages: [1]   Go Down
Print
Author Topic: Authorize.net decline card error NOT displaying  (Read 4919 times)
marthirial
Newbie
*
Posts: 8


« on: October 01, 2009, 19:26:16 PM »

VM 1.1.3
Joomla! 1.5.9

Step 3 of 4. Select payment method.

If the credit card, security code or type of card is invalid, an error is supposed to show: Error: The Credit Card Number entered is not valid.

In my case, this error is not showing.  Anybody knows which files should I check to find the echo that prints this error?

Thanks a lot.
Logged
marthirial
Newbie
*
Posts: 8


« Reply #1 on: October 23, 2009, 17:33:30 PM »

I have to correct: No error displays in the credit card validation.

Even if the credit card is empty, it shows no error, it just returns to the same page.

Anybody knows where is the error message generated and I am not referring to the language file, but the actual code.
Logged
marthirial
Newbie
*
Posts: 8


« Reply #2 on: October 23, 2009, 19:40:59 PM »

$50 through Paypal for your time helping me figure this out.

There was some customization done to the checkout process, nothing related with processing (still uses Authorize.net) only layout. 

The alerts and errors are visible in debug mode.  I have traced the function getErrorField( $msg ) but it will not show the error.

Thanks
Logged
Don Hays
Full Member
***
Posts: 102



WWW
« Reply #3 on: November 06, 2009, 19:29:24 PM »

Did you ever figure this out? I'm running into the same problem.
Logged

Don Hays
Gearbox Studios
RelativeDesign
Newbie
*
Posts: 3


WWW
« Reply #4 on: November 19, 2009, 00:53:27 AM »

I was experiencing the same issue. In my case it turned out to be a bug with the logging mechanism that prints the error message for the user.

Here's how to reproduce this particular error:
1) Navigate to the VirtueMart Administration Configuration screen : http://<yourdomain>/administrator/index.php?page=admin.show_cfg&option=com_virtuemart
2) Scroll to the bottom and make sure "Debug" is not checked BUT "Limit by IP address" is checked and put a bogus IP in the "Client IP address" field, such as 1.1.1.1.
3) Apply changes
4) Attempt to make a payment using an invalid Credit Card, the screen should refresh and there will not be an error message.

Basically, if "Limit by IP address" is enabled and your IP doesn't match the one in the "Client IP address" field then the logger will throw out all messages.

To fix this open /administrator/components/com_virtuemart/classes/Log/display.php and change this line (119 on my system):

Code:
if((VM_DEBUG_IP_ENABLED == '1') && (strcmp($_SERVER['REMOTE_ADDR'], VM_DEBUG_IP_ADDRESS) != 0))

To:

Code:
if((VM_DEBUG_IP_ENABLED == '1') && (strcmp($_SERVER['REMOTE_ADDR'], VM_DEBUG_IP_ADDRESS) != 0) && $priority == PEAR_LOG_DEBUG)

Best Regards,
Jerret Kinsman
« Last Edit: November 19, 2009, 01:11:43 AM by RelativeDesign » Logged

Relative Design and Networking LLC
Consulting, Engineering, Systems Management and Website Design
(503) 608-4650
RelativeDesign
Newbie
*
Posts: 3


WWW
« Reply #5 on: November 19, 2009, 00:56:54 AM »

FYI, I went to submit a bug report and someone else already had: http://dev.virtuemart.net/cb/issue/2751?d-1332617-p=1&d-1332617-o=2&d-1332617-s=2
Logged

Relative Design and Networking LLC
Consulting, Engineering, Systems Management and Website Design
(503) 608-4650
sawalsh07
Newbie
*
Posts: 7


WWW
« Reply #6 on: December 11, 2009, 15:57:59 PM »

I'm still having this problem.  Implemented that fix proposed by RelativeDesign, but it doesn't make a difference.  I've tried with and without the IP box checked.  I still get no errors whatsoever, whether for invalid CC# or on step 4; no authorize.net error response codes are shown.  All of the errors do show up in my logs!

Joomla 1.5.14 - VM 1.1.3
Logged

Absorbents, Spill Kits, and products for Spill Containment, Erosion Control, and Facility Protection.
cboles
Newbie
*
Posts: 1


« Reply #7 on: July 26, 2010, 19:42:18 PM »

I am also in the same boat. As the above posters. The error messaging system is broken somewhere, but I can't figure out where... Has anyone figured this out yet?
Logged
tblueweb
Newbie
*
Posts: 4


WWW
« Reply #8 on: November 18, 2010, 16:13:10 PM »

Thanks for the pointers. Even though I had debug off I had limit still on. Surely a bug. I would have thought fixed in 1.1.5.

Thanks
Logged

__
True Blue Web Property Development
http://www.tblueweb.com
James Schwartz
Newbie
*
Posts: 15


« Reply #9 on: January 06, 2011, 16:55:46 PM »

I'm having this problem, too.
Logged
Pages: [1]   Go Up
Print
Jump to: