got this error when I make order
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!
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
got this error when I make order
Hello,
why I got this error when I make order?
why I got this error when I make order?
Code: Select all
Checks for available service items in basket failed
Re: got this error when I make order
No delivery or payment option has been added to the basket and the ServicesAvailable basket plugin throws an error in that case when using the default configuration.
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: got this error when I make order
Hello,
we are also facing this issue in a 2022.10 installation now.
Adding an item to the basket and navigating to /shop/basket shows this error - before entering any data in the checkout process.
The $problems array contains this:
The plugin AddressesAvailable uses the default configuration:
But this didn't happen before.
Clicking the checkout button can complete the order.
So customers might be confused about this error.
In the /shop/checkout/process view the plugin is called again.
So maybe it's called accidently on the /shop/basket view?
we are also facing this issue in a 2022.10 installation now.
Adding an item to the basket and navigating to /shop/basket shows this error - before entering any data in the checkout process.
The $problems array contains this:
Code: Select all
array:1 [▼ // vendor/aimeos/aimeos-core/src/MShop/Plugin/Provider/Order/AddressesAvailable.php:134
"payment" => "available.none"
]
- payment yes
- delivery empty
Code: Select all
array:2 [▼ // vendor/aimeos/aimeos-core/src/MShop/Plugin/Provider/Order/AddressesAvailable.php:134
"payment" => "available.none"
"delivery" => "available.none"
]
Clicking the checkout button can complete the order.
So customers might be confused about this error.
In the /shop/checkout/process view the plugin is called again.
So maybe it's called accidently on the /shop/basket view?
Re: got this error when I make order
There can be two sources for the problem:
1.) You've removed or disabled the Autofill-Plugin in the Plugin panel
2.) You've reordered the positions of the plugins in the Plugin panel and AddressAvailable isn't one of the last ones any more
1.) You've removed or disabled the Autofill-Plugin in the Plugin panel
2.) You've reordered the positions of the plugins in the Plugin panel and AddressAvailable isn't one of the last ones any more
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: got this error when I make order
Thx for pointing me in the right direction.
I think, we didn't change the default plugins: But we added a custom BasketPlugin.
// edit
Deactivating this doesn't trigger the error message.
Reenabling makes the error message occur again.
I think, we didn't change the default plugins: But we added a custom BasketPlugin.
// edit
Deactivating this doesn't trigger the error message.
Reenabling makes the error message occur again.