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
Check out: All my extensions | My FREE extensions
/vqmod/xml
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
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
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.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
-- - thanks for the opportunity to participate in y(our) ongoing success - --
Thankswilliamjay 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.
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
Hi Q, I think I'm seeing exactly this!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.
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;
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
Does this work for 1.5.6 and where can I buy this module
Buildng Party Supplies websites
http://www.partystuffonline.co.uk
Who is online
Users browsing this forum: No registered users and 19 guests