Jump to content

Show user friendly error in Prestashop


Recommended Posts

Hello,

I'm developing 1 Payment Gateway module in which I'm doing some API calls which returns an error if phone number is incorrect.

So when I click on payment method to my payment method on checkout page and if it returns an error it show direct error to user instead of that I wanted to show user a user friendly message.

But I can't find any way to do it like we have in woocommerce wp_add_notice but I can't find anything in Prestashop

Please let me know if someone know how to show user friendly notice / error.

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More