Strange issue in checkout
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Strange issue in checkout
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
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
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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Strange issue in checkout
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
Also kindly note that, it appears problem is not with session but storing data in
Code: Select all
Order/base
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
What OS, PHP version, Aimeos version and database incl. version do you use?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Strange issue in checkout
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
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
Can you please debug what happens here:
- Session: https://github.com/aimeos/aimeos-core/b ... p#L67-L145
- Store: https://github.com/aimeos/aimeos-core/b ... 1036-L1060
- Session: https://github.com/aimeos/aimeos-core/b ... p#L67-L145
- Store: https://github.com/aimeos/aimeos-core/b ... 1036-L1060
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
- РоманАндрейчук
- Posts: 18
- Joined: 13 Jan 2022, 15:08
Re: Strange issue in checkout
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
Is there any solution to this problem?
php 7.4, aimeos 2021.10, laravel
Re: Strange issue in checkout
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
You can check here what happens during that migration:
https://github.com/aimeos/ai-controller ... #L124-L330
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star