Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Download shop - invoice numbers


dennish

Recommended Posts

I am building a download shop using both the Super Download Shop and Paypal IPN contributions. Dutch (and I assume many other European) tax regulations require subsequent numbering of invoices. I am therefore looking for a contribution that will:

1. Automatically/instantly adjust the invoice number for completed orders (= succesfully paid for by Paypal IPN);

2. Ignore uncompleted/pending orders;

 

Can anyone suggest a suitable contribution for this issue?

 

(Ideally, this contribution should also be able to handle orders created in the admin section as well, without disrupting the subsequent invoice numbering)

 

Thank in advance for any help.

 

Regards,

 

Dennis

Link to comment
Share on other sites

Just to clarify the question, are you looking for something that will provide sequential invoice numbering on a per customer basis - ie each customer has to have invoices with numbers that go 1, 2, 3, etc., or does each invoice your store issues have to have a number one higher than the previous one (regardless of who the customer was), and that these invoice numbers should not be issued for uncompleted orders?

www.jyoshna.com. Currently using OsC with STS, Super Download Store, Categories Descriptons, Manufacturers Description, Individual Item Status, Infopages unlimited, Product Sort, Osplayer with flashmp3player, Product Tabs 2.1 with WebFx Tabpane and other bits and pieces including some I made myself. Many thanks to all whose contributions I have used!

Link to comment
Share on other sites

I don't think there is a ready-made contribution that will do what you want. Have you looked at the order number contributions that exist to see whether their method of handling alternative order numbers could be changed to meet your requirements? For example, there's one that generates order numbers based on a timestamp and one that generates a scrambled letter/number combination. Perhaps sequential numbering based on a table to store the 'next number' could be substituted for their numbering algorithm, while using the other parts of the module to put the new numbers on invoices/confirmation letters etc? I don't know if either of them only generate the number for completed orders, but if not I wouldn't expect it to be too difficult to make the issuing of a number conditional on the order reaching a certain status where payment has completed, provided osc can maintain its own internal order ID for uniquely tracking both the completed and pending orders.

www.jyoshna.com. Currently using OsC with STS, Super Download Store, Categories Descriptons, Manufacturers Description, Individual Item Status, Infopages unlimited, Product Sort, Osplayer with flashmp3player, Product Tabs 2.1 with WebFx Tabpane and other bits and pieces including some I made myself. Many thanks to all whose contributions I have used!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...