[MOD/vQmod] - Only Generate Single Temp Order Id
38 posts
• Page 2 of 2 • 1, 2
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
Updated for 1.5.2 and 1.5.3 support.
Tested and working
Tested and working

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: [MOD/vQmod] - Only Generate Single Temp Order Id
I tested 1.5.2 - 1.5.3 and working. Nice mod!
Thanks Qphoria!
Thanks Qphoria!
-

eka7a - Posts: 176
- Joined: Sat Apr 11, 2009 4:59 pm
- Location: Türkiye
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
Makes sense. Why not modify core code and ship these changes in the default script? Are there any disadvantages to using this or a use case for multiple temp order IDs?
OC 1.5.4.1, vQmod 2.3.2, Default theme + custom CSS

My FREE extensions: Rich snippets, FB Likebox, Child theme, Add $x for free shipping, You save $x, Yes to newsletter, Product photos in email, Copy order confirmation email, Top rated items, Most reviewed items, Cant buy Out of Stock items, No tabs, Category menu w/classes, Categories w/thumbnails
OpenCart Europa
OC2PS
Csillámtetoválás,
Csillámtetoválás,
Henna
My FREE extensions: Rich snippets, FB Likebox, Child theme, Add $x for free shipping, You save $x, Yes to newsletter, Product photos in email, Copy order confirmation email, Top rated items, Most reviewed items, Cant buy Out of Stock items, No tabs, Category menu w/classes, Categories w/thumbnails
OpenCart Europa
OC2PS
Csillámtetoválás,
Csillámtetoválás,
Henna
-

OC2PS - Posts: 1033
- Joined: Tue Jul 21, 2009 8:15 pm
- Location: Hungary
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
Hi, Can you please advise me which folder that I place this xml file in. Thank you
- ocstream
- Posts: 3
- Joined: Sun Jun 24, 2012 1:14 pm
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
/vqmod/xml
OC 1.5.4.1, vQmod 2.3.2, Default theme + custom CSS

My FREE extensions: Rich snippets, FB Likebox, Child theme, Add $x for free shipping, You save $x, Yes to newsletter, Product photos in email, Copy order confirmation email, Top rated items, Most reviewed items, Cant buy Out of Stock items, No tabs, Category menu w/classes, Categories w/thumbnails
OpenCart Europa
OC2PS
Csillámtetoválás,
Csillámtetoválás,
Henna
My FREE extensions: Rich snippets, FB Likebox, Child theme, Add $x for free shipping, You save $x, Yes to newsletter, Product photos in email, Copy order confirmation email, Top rated items, Most reviewed items, Cant buy Out of Stock items, No tabs, Category menu w/classes, Categories w/thumbnails
OpenCart Europa
OC2PS
Csillámtetoválás,
Csillámtetoválás,
Henna
-

OC2PS - Posts: 1033
- Joined: Tue Jul 21, 2009 8:15 pm
- Location: Hungary
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
OC2PS wrote:Makes sense. Why not modify core code and ship these changes in the default script? Are there any disadvantages to using this or a use case for multiple temp order IDs?
would love to see this too
- scanreg
- Posts: 604
- Joined: Wed May 05, 2010 4:15 pm
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
1. If the native order id keeps changing before order completion, what stays the same for the cart to track?
Is it just the session id?
2. If it's just the session id, does the cart ever use session_regenerate_id? (didn't find it in 1.5.2.1)
Trying to nail down how the cart keeps track of cart contents and doesn't get order number and cart contents mixed up with different simultaneous customer
Thanks
Thanks
Is it just the session id?
2. If it's just the session id, does the cart ever use session_regenerate_id? (didn't find it in 1.5.2.1)
Trying to nail down how the cart keeps track of cart contents and doesn't get order number and cart contents mixed up with different simultaneous customer
Thanks
Thanks
- scanreg
- Posts: 604
- Joined: Wed May 05, 2010 4:15 pm
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
scanreg wrote:1. If the native order id keeps changing before order completion, what stays the same for the cart to track?
Is it just the session id?
2. If it's just the session id, does the cart ever use session_regenerate_id? (didn't find it in 1.5.2.1)
Trying to nail down how the cart keeps track of cart contents and doesn't get order number and cart contents mixed up with different simultaneous customer
Thanks
Thanks
AddtoCart is a javascript function, (catalog\view\javascript\common.js), while addOrder is a PHP function, (catalog\model\checkout\order.php) ... cart and order are separate issues, with cart tracked by session and order by order_id.
-- - thanks for the opportunity to participate in y(our) ongoing success - --
-

williamjay - Posts: 37
- Joined: Sat Apr 28, 2012 9:41 pm
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
williamjay wrote:
AddtoCart is a javascript function, (catalog\view\javascript\common.js), while addOrder is a PHP function, (catalog\model\checkout\order.php) ... cart and order are separate issues, with cart tracked by session and order by order_id.
Thanks
So, if the cart is tracked by session id and if session_regenerate_id is never used, is there any chance of any session hijacking?
Thanks

- scanreg
- Posts: 604
- Joined: Wed May 05, 2010 4:15 pm
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
session id's are stored by the server.. sessions in opencart expire after 1 hour of no activity. There is no chance the server is going to regenerate the same session id for 2 people in the same hour, I'd be surprised if it even happens in the same year.

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: [MOD/vQmod] - Only Generate Single Temp Order Id
Does this mod still apply for OC 1.5.4.1?

www.HomesteadGeneralStore.com
-

HomesteadGenStore - Posts: 47
- Joined: Sat Jun 18, 2011 1:44 pm
- Location: Waco, Texas
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
HomesteadGenStore wrote:Does this mod still apply for OC 1.5.4.1?
Yes

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: [MOD/vQmod] - Only Generate Single Temp Order Id
Qphoria wrote:session id's are stored by the server.. sessions in opencart expire after 1 hour of no activity. There is no chance the server is going to regenerate the same session id for 2 people in the same hour, I'd be surprised if it even happens in the same year.
Hi Q, I think I'm seeing exactly this!

I asked in the forum a few times about session issues, but nobody answers.
http://www.tourdefarm.com/
How do you set your php.ini? Do you mind printing the content here?
I'm on 1.5.3.1.
Below is my php.ini
magic_quotes_gpc = Off;
register_globals = Off;
default_charset = UTF-8;
memory_limit = 1024M;
max_execution_time = 18000;
upload_max_filesize = 10M;
safe_mode = Off;
mysql.connect_timeout = 20;
session.use_cookies = On;
session.use_trans_sid = Off;
session.gc_maxlifetime = 30;
session.cookie_lifetime = 30;
allow_url_fopen = on;
;display_errors = 1;
;error_reporting = E_ALL;
- charlesso
- Posts: 47
- Joined: Mon Sep 20, 2010 3:33 am
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
Hi,
is it possible upgrade it to 1.5.5.1 ?
Thanks for reply.
is it possible upgrade it to 1.5.5.1 ?
Thanks for reply.
- freddy87
- Posts: 16
- Joined: Sun Sep 02, 2012 5:19 pm
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
Is it broken in 1.5.5.1?

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: [MOD/vQmod] - Only Generate Single Temp Order Id
when i compare it, there are some changes and i have problem fix it 

- freddy87
- Posts: 16
- Joined: Sun Sep 02, 2012 5:19 pm
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
Hi, I'm "suffering" with this missing orders issue, but with an additional problem: when the client selects the payment method MercadoPago (it is an extension from a well known site similar to eBay in south america) and reaches the confirmation page the temp order is created but with order_status_id = 1 (pending) so if he doesn't confirm the payment and go back and forth another order created but all of them with status 1 thus actually duplicating orders.
I guess it is a bug from the extension but until I can get them review it I was wondering if this mod could solve the problem and also if it runs on 1.5.5.1
Thans
F
I guess it is a bug from the extension but until I can get them review it I was wondering if this mod could solve the problem and also if it runs on 1.5.5.1
Thans
F
- fers1970
- Posts: 10
- Joined: Fri Jan 25, 2013 7:59 pm
Re: [MOD/vQmod] - Only Generate Single Temp Order Id
Hi, where is the <!-- v154x --> ?
I want apply to 1.5.4.1
Thanks.
I want apply to 1.5.4.1
Thanks.
- spirit
- Posts: 296
- Joined: Fri Oct 01, 2010 11:40 pm
38 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest













