Jump to content

Stop posting customer order to PrestaShop admin


Avalara.Ram

Recommended Posts

I am adding some logic on "actionCartSave", this same hook is triggered when customer confirms order and it order is now with Admin.

Now if our business logic fails due to invalid address provided by customer while creating order, we want to stop posting that order to admin and show the corrective message action.

How this can be accomplished?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...