osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Order Number

This is a discussion on Order Number within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I am creating a Payment Module, but I can't see where the osCommerce Order Number can be found. I can ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-02-2007, 02:28 AM
Lurker
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
computergenius is on a distinguished road
Default Order Number

I am creating a Payment Module, but I can't see where the osCommerce Order Number can be found. I can see that it is in the database, orders.orders_id but I would have thought that it would be floating around somewhere...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 02-11-2007, 06:45 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Order Number

It is pulled from the db when needed.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-11-2007, 09:40 AM
Lurker
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
computergenius is on a distinguished road
Default Re: Order Number

Well, it's needed now <G>

Let me define what I am looking for - what will become the Invoice number, when we issue the invoice. At this stage, there is product in the cart, and I am going to get the payment. But I need something to track the payment, in case I don't get an immediate reply.

I can't see an order number, I (think that I can) see the cart in the table "sessions", but I can't find a unique number in there. I am using the sessionID in that table, which I don't think is suitable, but is the best that I can do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-11-2007, 12:34 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Order Number

Order numbers are not generated until after processing. It is the way osCommerce is built. So, you cannot get an order number until after the order is completed (it is not assigned until added to the db, which only happens on completion of the transaction).

I think there is a mod that gets around this issue, as I vaguely recall something about this.

You may want to look through the osCommerce mods here:
osCommerce: Contributions
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Change order number garjowan osCMax v2 Customization/Mods 0 03-30-2006 08:22 AM
order number joanstead osCMax v2 Customization/Mods 0 02-09-2006 09:27 AM
Scrambled or modify order number gamefreak7 osCMax v2 Customization/Mods 1 07-01-2005 10:43 AM
Random order number Anonymous osCMax v1.7 Discussion 3 11-09-2003 11:21 PM
Question about order number kmazumdar osCommerce 2.2 Modification Help 0 11-06-2003 06:27 PM


All times are GMT -8. The time now is 09:00 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax