Page 6 of 7 FirstFirst ... 4567 LastLast
Results 51 to 60 of 66
  1. #51
    Join Date
    Mar 2006
    Location
    St. Louis area
    Posts
    208
    Plugin Contributions
    0

    Default Re: authorize.net problems

    Here are the runtime errors I get in step two of the checkout.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	error1.JPG 
Views:	366 
Size:	28.8 KB 
ID:	1205   Click image for larger version. 

Name:	error2.JPG 
Views:	350 
Size:	27.7 KB 
ID:	1206   Click image for larger version. 

Name:	error3.JPG 
Views:	365 
Size:	28.5 KB 
ID:	1207  

    Click image for larger version. 

Name:	error4.JPG 
Views:	371 
Size:	27.8 KB 
ID:	1208  
    Last edited by scottb; 5 Jan 2007 at 08:52 PM. Reason: Broken image

  2. #52
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: authorize.net problems

    What happens if you turn off your debugging in your browser?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #53
    Join Date
    Mar 2006
    Location
    St. Louis area
    Posts
    208
    Plugin Contributions
    0

    Default Re: authorize.net problems

    The transactions go through fine with debugging turned off. I always run my production computers with several debugging tools active.

    Now how do I get rid of this from step 2 of the check-out process?

    MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_POPUP_CVV_LINK

    See above error jpgs
    Last edited by scottb; 6 Jan 2007 at 04:00 PM.

  4. #54
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: authorize.net problems

    MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_POPUP_CVV_LINK
    That is a constant, defined in the language file:
    /includes/languages/english/modules/payment/authorizenet_aim.php
    Code:
      define('MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_POPUP_CVV_LINK', 'What\'s this?');
    I believe that entry was added for v1.3.7 ... which is likely why you're not seeing it, since in your case you started using this code to fix a problem -- before 1.3.7 was even released.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #55
    Join Date
    Mar 2006
    Location
    St. Louis area
    Posts
    208
    Plugin Contributions
    0

    Default Re: authorize.net problems

    That define line does not exist in my /includes/languages/english/modules/payment/authorizenet_aim.php file

    I am using 1.3.6
    Last edited by scottb; 8 Jan 2007 at 04:53 PM. Reason: Add info

  6. #56
    Join Date
    Mar 2006
    Location
    St. Louis area
    Posts
    208
    Plugin Contributions
    0

    Default Re: authorize.net problems

    It does exist here

    /includes/modules/payment/authorizenet_aim.php

    Line #175 : 'field' => zen_draw_input_field('authorizenet_aim_cc_cvv', '', 'size="4", maxlength="4"' . ' id="'.$this->code.'-cc-cvv"' . $onFocus) . ' ' . '<a href="javascriptopupWindow(\'' . zen_href_link(FILENAME_POPUP_CVV_HELP) . '\')">' . MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_POPUP_CVV_LINK . '</a>',

    But it breaks the checkout if I touch the line.

  7. #57
    Join Date
    Jul 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: authorize.net problems

    Quote Originally Posted by billc108 View Post
    Scott B, you wouldn't happen to be running on Mac OS 1.3.9 would you?
    Is this a problem if you are using OS 1.3.9? It would help explain our problems with AIM!:)

  8. #58
    Join Date
    Apr 2007
    Location
    WA
    Posts
    14
    Plugin Contributions
    0

    Default Re: authorize.net problems

    Quote Originally Posted by DrByte View Post
    Updated module attached, which sets the delimiter and parses accordingly.
    Parser is more intelligent now too and can handle encap characters also.
    In fact, the module now explicitly sets the delimiter to | and encap to * so that it knows what to expect back from authorizenet.
    Using the | is likely safer than using the comma because one could use a comma in their address and end up with a problem ... whereas a | is highly unlikely, and stripping out | symbols is likely less confusing than stripping commas. (Keep in mind that the ZC AIM module has always been stripping commas before sending, so as to prevent against these problems).
    Thank you Drbyte for this fix. We installed it last month when it was discovered that single quotes returned from authorize.net in the city feild caused errors. Since the install, orders come through fine...I thought everthing was good until we started getting calls from customers not able to use their Amex card. After looking into the issue, we discovered that we haven't had any amex transactions since installing this upgrade. I have done some homework to pinpoint the problem, and here is what I found out:

    • We have processed many amex cards before this update
    • I can still process Amex through the virtual terminal on Auth.net
    • My processesor has confirmed that everything is still set up correctly
    • I also compared my installed file with the one in your zip file, and it is an exact match.
    • To clarify, it's: @version $Id: authorizenet_aim.php 5534 2007-01-05 10:21:51Z drbyte $
    • The error that I receive after entering an amex number is: The credit card number starting with xxxx was not entered correctly, or we do not accept that kind of card. Please try again or use another credit card.

    Visa & MC work perfectly, just Amex is the issue.

    FYI, AIM is the only payment module I have enabled.

    I looked through the code and compared the changes with the original...unfortunately I am not very good with php (pretty new to zc too) and nothing jumped out at me as a source for the problem.

    Do you have any suggestions? Any help is much appreciated, I need to get this running smoothly again...

    FYI, I'll be adding Discover after Amex is back up and running, and finally, I plan to add Paypal as an alternative method of payment (but not until AIM is solid).

    Thanks!!

  9. #59
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: authorize.net problems

    1. Do you have Amex enabled in Admin->Configuration->Credit Cards ?

    2. The 'we don't accept that kind of card' message is a result of the card number-validation failing. Credit Card number-validations happen via /includes/classes/cc_validation.php. Amex rules are defined there along with all the other card types. Have you changed that file at all ? The one that comes with v.1.3.7 / v1.3.7.1 is the most current.

    The rule is: ereg('^3[47][0-9]{13}$', $number) ... which means: starts with 34 or 37 and has 13 more digits.
    What pattern is the amex number you were trying?
    Last edited by DrByte; 13 Sep 2007 at 05:25 PM. Reason: fixed amex formula
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #60
    Join Date
    Apr 2007
    Location
    WA
    Posts
    14
    Plugin Contributions
    0

    Default Re: authorize.net problems

    Well...that's why you're the doctor!

    Somehow Amex was turned off from admin. I had someone helping me, they must have done that when they installed the upgrade...probably for testing & forgot to turn back on. Anyway, I just put an order through, so its golden.

    One question though...Amex (at least mine) has 15 digits, not 13...I guess the reg exp checks for the first 2 digits and counts the rest?

    No biggie, because my site is working right now - just the curiousity factor.

    Thanks again DrByte!

 

 
Page 6 of 7 FirstFirst ... 4567 LastLast

Similar Threads

  1. v151 SSL problems - Authorize.net
    By billc108 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 23 Jan 2014, 01:35 AM
  2. Authorize.net problems
    By golfador in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 16 Jan 2010, 06:02 AM
  3. Authorize.Net AIM problems
    By fright-rags in forum General Questions
    Replies: 12
    Last Post: 29 May 2007, 03:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg