dennish Posted December 4, 2009 Share Posted December 4, 2009 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 Quote Link to comment Share on other sites More sharing options...
Ben Nevis Posted December 4, 2009 Share Posted December 4, 2009 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? Quote 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 More sharing options...
dennish Posted December 4, 2009 Author Share Posted December 4, 2009 Each invoice that the store issues should have a number one higher than the previous one (regardless of who the customer was), and that no invoice numbers should be issued for uncompleted orders. Quote Link to comment Share on other sites More sharing options...
Ben Nevis Posted December 4, 2009 Share Posted December 4, 2009 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. Quote 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 More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.