Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Managing Customers and Orders / Invoice says "pending" I'd like to change this

Invoice says "pending" I'd like to change this

11 Jul 2017, 9:23 PM
#1
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Post #1 by cosmosk

When I print invoices, the "status" is "pending". I understand Zencart's order tracking, but I don't use it. I print out the invoices and include a copy with the shipment. At this point, "paid" would be better than "pending".

Anyone know if I can change this, and if so, where it is located?

Thanks!

11 Jul 2017, 9:48 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #2 by mc12345678

The terms for status can be altered from the admin->localization->Orders Status.

Be mindful though of adding status' or removing (instead of editing) existing status'. If your site sells downloadable content there is a band in which the status must be to support/allow download of the file(s). If the existing status sequence/configuration is changed then this could affect such operation.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

12 Jul 2017, 4:59 PM
#3
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Post #3 by cosmosk

So, if I change the name of "Pending" to "Paid" will that cause any problems if I offer downloadable content? I don't currently, but maybe someday.

Thanks!

12 Jul 2017, 5:19 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #4 by mc12345678

CosmosK:

So, if I change the name of "Pending" to "Paid" will that cause any problems if I offer downloadable content? I don't currently, but maybe someday.

Thanks!

Not at all for ZC, and only so much for the person/people managing the store and their usage of Paid versus some other status (that may remain the same or be changed).

In other words, the software will not treat nor handle the renamed status any differently than it already does. The people may choose different options/status' based on the available "words" and it is in that choice that a problem could occur.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

12 Jul 2017, 5:26 PM
#5
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Post #5 by cosmosk

Ok. I'm a one person operation, so it should only confuse me as much as normal things do. Thanks!

15 Jul 2017, 12:52 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

No, you're missing something here.

"Pending" means Zen Cart hasn't recorded any payment for the order yet.
This is typically because you've chosen a payment method that doesn't actually take any payment at all.
It also happens if you've set things up to use pay-later options, such as check/money-order, or a credit-card module set to "authorize only" instead of "charge immediately".

The better course of action is two-fold:

  1. Admin->Localization->Orders Status -- rename "Processing" to "Paid"
    then
  2. Admin->Modules->Payment -- find your payment module, edit and set its Order Status to "Paid" from the drop-down list.
    After doing #1 and #2 above all subsequent orders will be marked as Paid automatically.

.
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.

15 Jul 2017, 4:35 PM
#7
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Post #7 by cosmosk

I did #1 and my invoices now say paid. Thanks!

16 Jul 2017, 4:09 AM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #8 by mc12345678

CosmosK:

I did #1 and my invoices now say paid. Thanks!

Right, so to try to explain that bit again from DrByte's direction... I don't know how many payment processors you have installed or use. But let's look at it this way. Right now, if you had any of thses as options or made any of these as options, you are going to run into a bit of trouble sorting things out unless you protect urself "internally" even further than ZC tries to.

For example: if you have the check/money order module installed/active. If someone "pays" with that option, what status are you going to have it set for? The default would have been pending which means that the money is not yet received and therefore the product can not be released. But under your new/current setup the status will be paid. And yet "the check is in the mail". See the slight extra headache involved?

Now if the payment method for an automatic payment where the payment method can determine that the money has been received (paypal, sagepay, authorize.net, ezpay, whatever) then those payment methods could identify that when money has been determined to be received to then use a slightly "higher" status level. This way the two types of payment status are independent. Money recieved (paid status) and money that still has some sort of processing to occur before the order should be released (previously considered pending).

Does this make more sense now what DrByte was saying? I had kind of gone for the direct answer and added the aspect of concern and control knowing that there could be issues, but it didn't dawn on me that the level of pending was the lowest status level and changing it from an "unknown" sort of status (pending) to a declared yes the money is in hand really would be better suited through the settings of the payment method. Again, even as a one man store, the less you have to recall how to set and/or why, the easier it is to do business. May be fun and/or challenging to "get it right" but it costs money when it's done wrong... try to always set yourself up for success...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

16 Jul 2017, 12:39 PM
#9
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Post #9 by cosmosk

I think I understand and thanks for the explanation. I will see what #2 is setup for.

I had an order paid through money order once. I had no idea, shipped the product, then a month later found the check in my PO box. I cashed it almost 2 years later for various reasons. Maybe I should change the status on that to something noticeable.

Thanks!

16 Jul 2017, 5:43 PM
#10
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #10 by mc12345678

CosmosK:

I think I understand and thanks for the explanation. I will see what #2 is setup for.

I had an order paid through money order once. I had no idea, shipped the product, then a month later found the check in my PO box. I cashed it almost 2 years later for various reasons. Maybe I should change the status on that to something noticeable.

Thanks!
Note, in order to complete the actions of DrByte's recommendation and to attempt to avoid the problem above, the first two items in your order status list would be/become:
Pending
Paid
Where as currently they likely read:
Paid
Processing

Your money order status level would still remain either default or pending, but any other payment processor should show that if the payment has been received (not in question) to establish an order status of Paid.

This way, a "promise to pay" where the payment has not been received would appear as pending. A payment actually received would be identified as Paid.

The product that are marked as processing would need to be updated to Paid (or other status) upon receipt/confirmation of payment.

Does that make sense to you now?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

16 Jul 2017, 6:32 PM
#11
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Post #11 by cosmosk

I see I can set the default value for what an order is set to. Considering I don't update this value for orders (ever), it seems the thing to do is set the default for check/money order to something other than "paid". Which state is first, second, third, doesn't seem to matter. I suppose I can change the check/mo status to "Check / Money Order" which will alert me to wait for the check before shipping. This would not require me to go back into the admin to change it. I track shipped orders elsewhere. Thanks!

16 Jul 2017, 7:18 PM
#12
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #12 by mc12345678

CosmosK:

I see I can set the default value for what an order is set to. Considering I don't update this value for orders (ever), it seems the thing to do is set the default for check/money order to something other than "paid". Which state is first, second, third, doesn't seem to matter. I suppose I can change the check/mo status to "Check / Money Order" which will alert me to wait for the check before shipping. This would not require me to go back into the admin to change it. I track shipped orders elsewhere. Thanks!

I reference back to post #2 about status level and the possibility of using downloads, also there is a condition when using PayPal where it will/may default the status of an order back to status level 2 which would currently indicated processing instead of the desired paid condition.

Another way to think about it, could go correct things now or try to figure out why things aren't working like expected later. :) Phrase I have heard before is pay now or pay later. :)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

16 Jul 2017, 8:41 PM
#13
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Post #13 by cosmosk

I don't see where the different statuses are ordered by number. There seem to be several with different names, but no indicated order. I don't see how a payment module automatically changes a status from one to another, and if they do, where the order is established. Where is level 2?

16 Jul 2017, 9:02 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #14 by drbyte

Most payment modules offer a drop-down selector to choose an "Order Status" or "Payment Order Status", which determines the status the module will set the order to when the order is saved.

You can access all the statuses via Admin->Localization->Orders Status. They are listed in numerical order. The number is displayed in the URL (address bar at the top of your Browser) when you click on a certain status.

The defaults are:

1-Pending
2-Processing
3-Delivered
4-Update (this was created in order to reset expired Download products to re-enable items on a certain order; has no other purpose)

There's nothing "automatic" or magical about any of these statuses. They're just a word. (Unless you offer downloadable products)

.
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.

16 Jul 2017, 10:24 PM
#15
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Post #15 by cosmosk

Ok, I didn't see the # in the url. Right now things are simple over here. However, I do want to add a paypal module and maybe someday do digital products. I'll be back with more questions. Thanks for the excellent help!