Closed bu-jgerhold closed 5 years ago
Thank you for your suggestion. We will care about soon
We've added some code to handle plugin exceptions like in the HTML client and merged it into 2018.10 branch as well. Can you please check if "aimeos/ai-client-jsonapi": "2018.10.x-dev"
works now as you expect?
Seems like it still only checks the basket in the template.
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.