JSONAPI Basket Plugin error message

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
jgerhold
Posts: 1
Joined: 19 Feb 2019, 11:52

JSONAPI Basket Plugin error message

Post by jgerhold » 22 Feb 2019, 09:21

At the moment (in 2018.10), if you get the basket via the Jsonapi and a basket plugin throws an error the POST is removed from allowed actions for the basket, but the error message is not added to the errors.

I think it would be better if the error messages from basket plugins were added to the Jsonapi response to have a message to show to the user why the basket is not ready to be finished.

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

Re: JSONAPI Basket Plugin error message

Post by aimeos » 22 Feb 2019, 15:19

Good point, thanks! We will see how we can fix that.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

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

Re: JSONAPI Basket Plugin error message

Post by aimeos » 24 Feb 2019, 16:18

Can you please open an issue in the https://github.com/aimeos/ai-client-jsonapi repo for that?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply