Post by Qphoria » Wed May 30, 2012 4:53 am

Updated for 1.5.2 and 1.5.3 support.
Tested and working

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by eka7a » Wed May 30, 2012 7:30 pm

I tested 1.5.2 - 1.5.3 and working. Nice mod!
Thanks Qphoria!

Windows 11 Pro Digital License Key


User avatar
Active Member

Posts

Joined
Sun Apr 12, 2009 12:59 am
Location - Türkiye

Post by OC2PS » Tue Jun 19, 2012 4:11 am

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?

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by ocstream » Mon Jun 25, 2012 2:41 am

Hi, Can you please advise me which folder that I place this xml file in. Thank you

Newbie

Posts

Joined
Sun Jun 24, 2012 9:14 pm

Post by OC2PS » Mon Jun 25, 2012 7:49 am

/vqmod/xml

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by scanreg » Fri Jun 29, 2012 9:06 pm

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

Active Member

Posts

Joined
Thu May 06, 2010 12:15 am

Post by scanreg » Sat Jun 30, 2012 8:48 pm

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

Active Member

Posts

Joined
Thu May 06, 2010 12:15 am

Post by williamjay » Sat Jun 30, 2012 9:25 pm

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


User avatar
New member

Posts

Joined
Sun Apr 29, 2012 5:41 am

Post by scanreg » Sat Jun 30, 2012 10:23 pm

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 :)

Active Member

Posts

Joined
Thu May 06, 2010 12:15 am

Post by Qphoria » Mon Jul 02, 2012 6:52 pm

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.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by HomesteadGenStore » Fri Aug 24, 2012 12:28 am

Does this mod still apply for OC 1.5.4.1?

Image
www.HomesteadGeneralStore.com


User avatar
New member

Posts

Joined
Sat Jun 18, 2011 9:44 pm
Location - Waco, Texas

Post by Qphoria » Fri Sep 21, 2012 11:23 pm

HomesteadGenStore wrote:Does this mod still apply for OC 1.5.4.1?
Yes

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by charlesso » Fri Dec 07, 2012 8:09 pm

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!

Image

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;

New member

Posts

Joined
Mon Sep 20, 2010 11:33 am

Post by freddy87 » Thu Feb 07, 2013 10:28 pm

Hi,

is it possible upgrade it to 1.5.5.1 ?

Thanks for reply.

New member

Posts

Joined
Mon Sep 03, 2012 1:19 am

Post by Qphoria » Fri Feb 08, 2013 5:53 am

Is it broken in 1.5.5.1?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by freddy87 » Fri Feb 08, 2013 11:43 pm

when i compare it, there are some changes and i have problem fix it :)

New member

Posts

Joined
Mon Sep 03, 2012 1:19 am

Post by fers1970 » Sun Feb 24, 2013 2:36 am

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

Newbie

Posts

Joined
Sat Jan 26, 2013 3:59 am

Post by spirit » Sat Mar 09, 2013 1:53 pm

Hi, where is the <!-- v154x --> ?
I want apply to 1.5.4.1

Thanks.

Active Member

Posts

Joined
Sat Oct 02, 2010 7:40 am

Post by Jacqueline » Mon Aug 19, 2013 9:51 pm

work great in 1.5.4.1

Just upload the file to vqmod/xml

New member

Posts

Joined
Sun Jun 03, 2012 12:05 am

Post by wsrinivas » Tue Sep 24, 2013 6:46 pm

Does this work for 1.5.6 and where can I buy this module

Buildng Party Supplies websites
http://www.partystuffonline.co.uk


User avatar
New member

Posts

Joined
Mon Feb 18, 2013 8:46 pm
Location - Milton Keynes, UK
Who is online

Users browsing this forum: No registered users and 19 guests