Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Posts
    49
    Plugin Contributions
    0

    Default Your order Number is 0

    Hi all,

    I've look around here for awhile to no avail. Do you know any common solution for this:

    After completing checkout "checkout success page" it says Your order number is 0, not the assinged number. And it the My Account section the real order number is listed, but on the checkout success its 0.

    ANy idea?

  2. #2
    Join Date
    Mar 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: Your order Number is 0

    I've found

    <td class="main"><?php echo TEXT_YOUR_ORDER_NUMBER . (int)$orders->fields['orders_id']; ?></td>

    but that looks normal....

    any ideas

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Your order Number is 0

    That commonly occurs when your store is set up to use Paypal Website Payments Standard (IPN) and PayPal is unable to notify your store of the new order before the customer gets back to your site. That's usually a result of Paypal's server not being able to successfully communicate to your server (in the background), which is required for particular payment module to work. You can troubleshoot it here: http://www.zen-cart.com/wiki/index.php/PayPal or you can use a different PayPal module or a different payment gateway.
    .

    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.

  4. #4
    Join Date
    Mar 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: Your order Number is 0

    Thanks so much for your time DrByte.

    I actually dont have Paypal enabled. Any other ideas?

  5. #5
    Join Date
    Mar 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: Your order Number is 0

    I solved this issue by copying the contents of

    includes\modules\pages\checkout_success\header_php.php

    to the top of:

    includes\templates\template_default\templates\tpl_checkout_success_default.php

    Its clearly sketchy but it solved my problem

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Your order Number is 0

    Doesn't make sense at all.

    But, I guess if it works for you, then enjoy. I'd be inclined to look for addons (or otherwise) that have broken the normal operation of the code.
    .

    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.

 

 

Similar Threads

  1. Modify "Your Order Number is" on successfuly checkout?
    By Cindy2010 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 May 2010, 10:53 PM
  2. start from say order number #1215 rather than order number 1
    By vandiermen in forum Managing Customers and Orders
    Replies: 4
    Last Post: 18 Mar 2009, 02:07 PM
  3. I want to remove Your Order Number is...
    By zoekool in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Jan 2007, 04:17 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR