Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Feb 2009
    Posts
    41
    Plugin Contributions
    0

    Default HELP! Confirm the order not working anymore.

    First off, the forum is great. I've received a bunch of help, and was even able to offer some for some of the out-of-the-ordinary things I've done with the site.

    I had the site working, had placed test orders and everything was good. Later found out that the client NEEDED purchase orders as an option, so I installed Super Orders 2.0 to take care of that issue. Since the site was already live, didn't think of placing a test order... big mistake.

    Week later I was surprised he didn't have any orders (with his marketing), so I decided to place an order to make sure everything was ok. I get as far as the last page of check out (Confirm the Order), then when I click on that I get a blank screen. When I check zen cart admin, the order has NOT been processed, either.

    Any suggestions? The site is www.brocktooldetroit.com. Thanks!

  2. #2
    Join Date
    Feb 2009
    Posts
    41
    Plugin Contributions
    0

    Default Re: HELP! Confirm the order not working anymore.

    In going back and reviewing the docuemtation of Super Orders 2.0, I found a problem, but don't know how to fix...

    Under Modules/Payment, authorize.net is RED (not green), and there's the following error listed at the top (x's are replaced to conceal the path):

    Fatal error: Call to a member function add_session() on a non-object in /home/xxxxx/xxxxx/xxxxx/includes/modules/payment/authorizenet_aim.php on line 86

    Any suggestions?

  3. #3
    Join Date
    Feb 2009
    Posts
    41
    Plugin Contributions
    0

    Default Re: HELP! Confirm the order not working anymore.

    I've gone back and removed everything I installed from Super Orders 2.0, with one exception... I can't figure out how to reverse the sql patch that was run at the install (code below). I'm still getting the fatal error on payment modules, even after all the files being removed, so I'm thinking this might be it???


    <snip> <irrelevent content removed>


    Any ideas/suggestions/help would be greatly appreciated. Thanks!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: HELP! Confirm the order not working anymore.

    Quote Originally Posted by haggis0929 View Post
    Under Modules/Payment, authorize.net is RED (not green), and there's the following error listed at the top (x's are replaced to conceal the path):

    Fatal error: Call to a member function add_session() on a non-object in /home/xxxxx/xxxxx/xxxxx/includes/modules/payment/authorizenet_aim.php on line 86

    Any suggestions?
    That error is from a small bug which only shows up when another error occurs. The Authorize.net module requires that CURL be enabled on your server. If it's not, an error message about CURL missing is normally displayed. However, since there's a small bug in the code that's used to display that error message, you're seeing a secondary error instead.
    That particular error ONLY affects the admin area.

    If you really want to fix that tiny display issue, do the following:

    Edit /includes/modules/payment/authorizenet_aim.php
    Around line 75 you should see the following:
    Code:
      function authorizenet_aim() {
        global $order;
    Change it as follows:
    Code:
      function authorizenet_aim() {
        global $order, $messageStack;

    You'll still need to get CURL working on your server before you'll be able to use the Authorize.net modules though.
    .
    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. #5
    Join Date
    Feb 2009
    Posts
    41
    Plugin Contributions
    0

    Default Re: HELP! Confirm the order not working anymore.

    Thanks, DrByte. I can now see the payment modules, but am now a bit confused.

    I had the site live and successfully purchased products I had entered. The only main thing that was edited since then was the install of Super Orders 2.0 (to handle purchase orders).

    I do not believe CURL is installed on the server, but could be mistaken (I'm checking into that with the hosting co).

    With or without CURL, everything ran fine (at the time, I verified with Authorize.net, as well as the client's bank). But now I can't "Confirm the Order" (last part of the checkout).

    I uninstalled everything I can in Super Orders 2.0 (everything but the SQL patch that you run... I'm looking on how to reverse that), but no go.

    Any more thoughts???

    Also, I apologize for posting in 2 spots - I wasn't sure how these were distributed, and the other post looked like it might have been a good place to post this question, too.

  6. #6
    Join Date
    Feb 2009
    Posts
    41
    Plugin Contributions
    0

    Default Re: HELP! Confirm the order not working anymore.

    I now see the message at the top of my ADMIN screen that says:

    CURL functions not found - required for Authorize.net AIM payment module

    Any idea if this is a recent (last month) change? Everything was working before. Of course, the hosting co could have had CURL on & removed it, too. Will check that out as well.

    If I'm following correctly, then, this is NOT a Super Orders error, right?

    Seems odd this would just happen, when the store was working fie a month ago.

    Anything else I can check?


  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: HELP! Confirm the order not working anymore.

    Quote Originally Posted by haggis0929 View Post
    Any idea if this is a recent (last month) change?
    Well, since the only way to update something on *your* website is for *you* (or someone with access to your server) to make changes to it, any "recent" updates would be something done by said person.

    Quote Originally Posted by haggis0929 View Post
    Of course, the hosting co could have had CURL on & removed it, too. Will check that out as well.
    Good idea.

    Quote Originally Posted by haggis0929 View Post
    If I'm following correctly, then, this is NOT a Super Orders error, right?
    Correct.
    .
    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.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: HELP! Confirm the order not working anymore.

    Quote Originally Posted by haggis0929 View Post
    I get as far as the last page of check out (Confirm the Order), then when I click on that I get a blank screen.
    What shows up in the debug logs if you install the utility mentioned here?: https://www.zen-cart.com/tutorials/index.php?article=82
    Quote Originally Posted by haggis0929 View Post
    When I check zen cart admin, the order has NOT been processed, either.
    What do you mean by "has not been processed"? Do you mean it doesn't *exist*? Or do you mean it's there but is not in "Processing" status?


    Also, which payment modules do you have installed and enabled?
    .
    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.

  9. #9
    Join Date
    Feb 2009
    Posts
    41
    Plugin Contributions
    0

    Default Re: HELP! Confirm the order not working anymore.

    Thanks for the debug tool. I installed, tried to purchase an item, got to "Confirm the Order", and this time got the generic IE can't find page error instead of a blank page (strange).

    Anyway, went to the debug log and this is what's in there:
    [20-Jul-2009 14:54:53] PHP Fatal error: Call to undefined function curl_init() in /home/xxxx/xxxxx/xxxxxx/includes/modules/payment/authorizenet_aim.php on line 521

    And when I mentioned that the order wasn't processed, I meant that it does NOT show up at all under Admin/Customers/Orders.

  10. #10
    Join Date
    Feb 2009
    Posts
    41
    Plugin Contributions
    0

    Default Re: HELP! Confirm the order not working anymore.

    Forgot to mention - the only payment module that is currently installed is Authorize.NET (AIM).

    I did have the Purchase Orders module (from Super Orders) installed, but removed that while trying to figure this problem out.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 PayPal order not working anymore
    By Zurd in forum General Questions
    Replies: 15
    Last Post: 29 Jan 2014, 06:42 PM
  2. v150 Help facebook like button not working anymore
    By dsimon55 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Jul 2013, 01:41 AM
  3. Replies: 10
    Last Post: 21 Jan 2013, 11:43 AM
  4. Confirm Order Button Not Working !!
    By maxidvd in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Nov 2008, 05:13 PM

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