Page 1 of 1
Strange issue in checkout
Posted: 02 Mar 2022, 16:48
by skydev
We are facing a strange issue in checkout
If anyone go to checkout and went to the summary/checkout page and again goes back to the basket page and modify product (add/edit product in cart then while making payment it only show the previous cart. It sometime works some time show error
we also tried to change address but sometime it show older address
we have check it in various versions of aimeos and facing this in almost all latest version
Reason may be cart it modify the session but after final checkout it save entry on order/base and all entries are forwarded based on order/base table not on session
Re: Strange issue in checkout
Posted: 03 Mar 2022, 09:23
by aimeos
We've seen that before in rare cases that the session doesn't seem to get stored or in case of MySQL, returning not the updated session content. Do you use "file" or "database" as Laravel session provider? The later one made problems in the past.
Re: Strange issue in checkout
Posted: 03 Mar 2022, 10:33
by skydev
Its file based (as default provided by laravel)
Also kindly note that, it appears problem is not with session but storing data in
table and its reference tables
on updating again they give duplicate key issues and due to that it only allow not updating them in database
Edited:
Just to give more idea regarding the problem I m facing something similar to below link(which is also unsolved)
Saving Basket
Re: Strange issue in checkout
Posted: 04 Mar 2022, 07:36
by aimeos
What OS, PHP version, Aimeos version and database incl. version do you use?
Re: Strange issue in checkout
Posted: 04 Mar 2022, 10:14
by skydev
As I mention earlier we have face this in multiple versions
Just for more info
We have checked it in
PHP 7.4 and PHP 8.0
Aimeos 2020.10, aimeos 2021.7 and aimeos 2021. 10
regarding OS we have check it CentOS , windows, Linux
Database: we have used MySQL or mariadb
Re: Strange issue in checkout
Posted: 04 Mar 2022, 10:24
by aimeos
Re: Strange issue in checkout
Posted: 27 Sep 2022, 13:59
by РоманАндрейчук
Hello. I'm having the same problem. When you change the localization, the trash is reset. When I return to the old locale, the items in the cart reappear. Sessions are stored in files.
Is there any solution to this problem?
php 7.4, aimeos 2021.10, laravel
Re: Strange issue in checkout
Posted: 28 Sep 2022, 11:36
by aimeos
If you change the language or currency, the basket is migrated to the new locale.
You can check here what happens during that migration:
https://github.com/aimeos/ai-controller ... #L124-L330