Results 1 to 4 of 4
  1. #1
    Join Date
    May 2009
    Location
    North Las Vegas, NV
    Posts
    44
    Plugin Contributions
    0

    Default Order Status Configuration and Usage Question

    I am using ZC 1.3.9h and the payment module for PayPal Express Checkout. After configuring everything and testing for correct interfacing with PayPal, all seemed fine.

    I get my first order, PayPal works fine and there's payment made to my PayPal account. I'm overjoyed!

    BUT... going into admin to check on the order details (super orders), everything is fine EXCEPT that it shows there is "No Payment Data Available".

    Yet below it, it shows the PayPal transaction info with payment status 'completed' and so on. If I view or print an invoice, it displays a Balance Due of an $XX.xx (but should be $0 as the amount due was collected sucessfully).

    To fix this, I had to use the Payment Button to add a payment adjustment. Having to do this for every order would be a big pain!

    So a couple of questions:

    1. Why didn't Zen Cart and/or the payment module properly set this order as Paid (with a Balance Due of $0) and show the Order Payment Data?

    Here's the settings I have for Localization/Order Status(s):

    1 - Shipped (was originally Pending)
    2 - New Order (was originally Processing)
    3 - Stock Check (was originally Delivered)
    4 - Processing (was originally Update)
    5 - Pending
    6 - Production
    7 - Ready to Ship

    Here is the PayPal Express Checkout settings for Order Status's:

    Set Order Status = New Order [2]
    Set Unpaid Order Status = Pending [5]
    Set Refund Order Status = Pending [5]

    2. I know you can Add and/or Edit a Status Order's Name or Label, but the Status Order ID # is still a number. Is any of the modules for payment, etc., programmed (hard coded) to set, or check, for a specific Order Status ID # for payment processing? Just because one can change the Label Name, the programming is still checking for, or setting, a particular Status Order ID #.

    Which leads me to believe that it's the ID # that is the most important piece, not what you "Label" it for preference sake. Which is why I kept ID # '2' as the default, but had renamed it "New Order". It should have worked... but it didn't and the order was left with a balance due, as it thinks there's been no payment made.

    I will look into the code to try to figure out what is going on, but if anyone has any insights or suggestions, I'm all ears!

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

    Default Re: Order Status Configuration and Usage Question

    Quote Originally Posted by Mega Moonshine View Post
    BUT... going into admin to check on the order details (super orders), everything is fine EXCEPT that it shows there is "No Payment Data Available".
    If you do NOT use the Super Orders module, but use the original official /admin/orders.php module instead, you may end up with better results.

    You didn't say *where* that "no payment data" message appeared. If you're talking about the section that typically shows up in a gray background to show PayPal-specific information, none of that information is crucial to your normal handling of orders. It's reference information only, and is pulled from PayPal in real-time. You don't need that information to process orders in your store.
    Given that your post says that "below it, it shows the PayPal transaction info with payment status 'completed' and so on", it sounds like you're not referring to this section. So, read on:

    If, however, you are referring to a section of the screen normally presented by the Super Orders module, then you must have a bug in that module. I'm sorry, I can't comment on how that module works specifically.
    Quote Originally Posted by Mega Moonshine View Post
    If I view or print an invoice, it displays a Balance Due of an $XX.xx (but should be $0 as the amount due was collected sucessfully).
    Again, that sounds like a Super Orders problem.

    Quote Originally Posted by Mega Moonshine View Post
    1. Why didn't Zen Cart and/or the payment module properly set this order as Paid (with a Balance Due of $0) and show the Order Payment Data?

    Here's the settings I have for Localization/Order Status(s):

    1 - Shipped (was originally Pending)
    2 - New Order (was originally Processing)
    3 - Stock Check (was originally Delivered)
    4 - Processing (was originally Update)
    5 - Pending
    6 - Production
    7 - Ready to Ship

    Here is the PayPal Express Checkout settings for Order Status's:

    Set Order Status = New Order [2]
    Set Unpaid Order Status = Pending [5]
    Set Refund Order Status = Pending [5]
    Given those settings, the PayPal module would indeed have set the order to "2-New Order" as specified.
    Quote Originally Posted by Mega Moonshine View Post
    2. I know you can Add and/or Edit a Status Order's Name or Label, but the Status Order ID # is still a number. Is any of the modules for payment, etc., programmed (hard coded) to set, or check, for a specific Order Status ID # for payment processing? Just because one can change the Label Name, the programming is still checking for, or setting, a particular Status Order ID #.

    Which leads me to believe that it's the ID # that is the most important piece, not what you "Label" it for preference sake. Which is why I kept ID # '2' as the default, but had renamed it "New Order". It should have worked... but it didn't and the order was left with a balance due, as it thinks there's been no payment made.
    Indeed the PayPal module does use the number. It doesn't care what the label is. That's why Zen Cart uses numbers internally for those order-status values. No numbers are hard-coded.

    If the order was not set to orders_status=2 in the database, then you've got one of the following situations:
    a) you've set the PayPal module into "Authorization Only" instead of "Auth+Capture" mode, and thus the order is being set to Pending because it's NOT actually collecting ANY payment ... it's only reserving/authorizing the funds for you to capture payment at a later date. I doubt this is what you've done.
    b) you've got addon or damaged files that are breaking the normal operation of the core code and preventing it from doing what it's designed to do.
    .

    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.

  3. #3
    Join Date
    May 2009
    Location
    North Las Vegas, NV
    Posts
    44
    Plugin Contributions
    0

    Default Re: Order Status Configuration and Usage Question

    ~ PLEASE DELETE THIS POST and THREAD ~


    I finally found the thread that covers this. It happens, even after I tried about a dozen searches with different keywords... Go figure.

    But I found it and I will post within that thread instead, which btw, is the SUPER ORDERS v3.0 thread.

    PLEASE DELETE THIS POST and THREAD.

    Thanks!

  4. #4
    Join Date
    May 2009
    Location
    North Las Vegas, NV
    Posts
    44
    Plugin Contributions
    0

    Default Re: Order Status Configuration and Usage Question

    Many Thanks, Dr. Byte!

    We must have crossed posts, as after I posted the DELETE POST & THREAD, I noticed you beat me to it.

    Man, you're FAST!

    And good too. Must the the Dr. part...

    Much of what you said, I pretty much guessed and assumed as well. (Assuming can be dangerous though...)

    The problem lies in the Super Orders mod. The authors of the mod are aware of it and plan to fix it in the next release. For now, one has to make a Payment adjustment to clear it out to get the Balance Due down to zero, etc.

    It's not a problem, just an inconvenience til fixed. Especially if you need to invoice a customer, but the temp fix is the payment adjustment.

    Again, many thanks for being the Zen Doctor!

 

 

Similar Threads

  1. Sales and order status question
    By ParseRaider in forum General Questions
    Replies: 12
    Last Post: 21 May 2016, 12:56 PM
  2. Order Status question.
    By MamaT in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 10 Dec 2008, 09:48 PM
  3. Order status question
    By abwhitney in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 6 Apr 2008, 01:42 AM
  4. Order Status Question
    By notset4life in forum General Questions
    Replies: 4
    Last Post: 1 Oct 2006, 08:47 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