Checkout Addresses / Setup Values not work properly

Help for integrating the Laravel package
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!
dburucu
Posts: 10
Joined: 01 May 2024, 12:00

Checkout Addresses / Setup Values not work properly

Post by dburucu » 22 May 2024, 01:09

Ckeckout address input does not work properly.
When a user first registers, he only has an e-mail address for the billing address and no name or street etc.. If the name and address are added there, they are not taken over. There is also no error that the billing address is not filled. The mandatory fields are specified.
If you are in the shopping cart and click on "Checkout", the entry of the addresses is skipped even though they are empty.
If you enter the billing address under Profile and go to the last page in the checkout, the billing address is correct. "Same as billing address" was selected for the delivery address. But when submitting the order, an error message appears stating that the addresses have not been entered correctly.

The values "[object Object Object]" are also displayed under Setup in the options if they have json values.

Laravel: 11.0
Aimeos: 2024.04.*
PHP: 8.2
Windows

User avatar
aimeos
Administrator
Posts: 8169
Joined: 01 Jan 1970, 00:00

Re: Checkout Addresses / Setup Values not work properly

Post by aimeos » 22 May 2024, 12:53

dburucu wrote: 22 May 2024, 01:09 Ckeckout address input does not work properly.
When a user first registers, he only has an e-mail address for the billing address and no name or street etc.. If the name and address are added there, they are not taken over. There is also no error that the billing address is not filled. The mandatory fields are specified.
This does only happen if you enable user registration in Laravel and then, the Autofill plugin adds this address to the basket automatically. Then, the address step is skipped because there's already an address in the basket and not checked if all mandatory fields are there. As a workaround, configure the Autofill plugin to disable adding the address:
https://aimeos.org/docs/latest/manual/plugins/#autofill
dburucu wrote: 22 May 2024, 01:09 The values "[object Object Object]" are also displayed under Setup in the options if they have json values.
Can you post a screenshot and give more information about that one?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

dburucu
Posts: 10
Joined: 01 May 2024, 12:00

Re: Checkout Addresses / Setup Values not work properly

Post by dburucu » 22 May 2024, 20:34

This happens in several configurations in admin site.

You can see it in the official aimeos laravel admin demo:

https://admin.demo.aimeos.org/admin/def ... ?locale=en
Screenshot 2024-05-22 222954.png
Screenshot 2024-05-22 222954.png (88.31 KiB) Viewed 100629 times

User avatar
aimeos
Administrator
Posts: 8169
Joined: 01 Jan 1970, 00:00

Re: Checkout Addresses / Setup Values not work properly

Post by aimeos » 23 May 2024, 09:37

This has been fixed now. Please use "composer up" to install the latest packages.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

dburucu
Posts: 10
Joined: 01 May 2024, 12:00

Re: Checkout Addresses / Setup Values not work properly

Post by dburucu » 23 May 2024, 20:22

thank you so much. it works.

dburucu
Posts: 10
Joined: 01 May 2024, 12:00

Re: Checkout Addresses / Setup Values not work properly

Post by dburucu » 04 Jun 2024, 01:35

aimeos wrote: 22 May 2024, 12:53
dburucu wrote: 22 May 2024, 01:09 Ckeckout address input does not work properly.
When a user first registers, he only has an e-mail address for the billing address and no name or street etc.. If the name and address are added there, they are not taken over. There is also no error that the billing address is not filled. The mandatory fields are specified.
This does only happen if you enable user registration in Laravel and then, the Autofill plugin adds this address to the basket automatically. Then, the address step is skipped because there's already an address in the basket and not checked if all mandatory fields are there. As a workaround, configure the Autofill plugin to disable adding the address:
https://aimeos.org/docs/latest/manual/plugins/#autofill
I thought it worked, but it only works partially. When I have activated registration and have a billing address and go to checkout -> addresses, the saved address is displayed correctly. But when I change something in the address fields, the changes are not applied.
Screenshot 2024-06-04 033013.png
Screenshot 2024-06-04 033013.png (173.17 KiB) Viewed 92000 times

User avatar
aimeos
Administrator
Posts: 8169
Joined: 01 Jan 1970, 00:00

Re: Checkout Addresses / Setup Values not work properly

Post by aimeos » 04 Jun 2024, 07:14

Where are they not applied to?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

dburucu
Posts: 10
Joined: 01 May 2024, 12:00

Re: Checkout Addresses / Setup Values not work properly

Post by dburucu » 04 Jun 2024, 23:21

Checkout Process > Addresses:
Screenshot 2024-06-05 010913.jpg
Screenshot 2024-06-05 010913.jpg (126.33 KiB) Viewed 91726 times

Click on billing address to change. I added "99" to firstname and lastname:
Screenshot 2024-06-05 011058.jpg
Screenshot 2024-06-05 011058.jpg (186.1 KiB) Viewed 91726 times

Click submit and you are in delivery. Click back again, nothing changed in billing address:
Screenshot 2024-06-05 011225.jpg
Screenshot 2024-06-05 011225.jpg (100.21 KiB) Viewed 91726 times

User avatar
aimeos
Administrator
Posts: 8169
Joined: 01 Jan 1970, 00:00

Re: Checkout Addresses / Setup Values not work properly

Post by aimeos » 08 Jun 2024, 10:10

Thanks, problem has been fixed now. Please run "composer up" to get the latest version.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

dburucu
Posts: 10
Joined: 01 May 2024, 12:00

Re: Checkout Addresses / Setup Values not work properly

Post by dburucu » 11 Jun 2024, 20:05

aimeos wrote: 08 Jun 2024, 10:10 Thanks, problem has been fixed now. Please run "composer up" to get the latest version.
Thank you, its working :)

Post Reply