cancel
Showing results for 
Search instead for 
Did you mean: 

Messages are not showing in checkout/onepage/success with the message manager in magento2.4.2

Messages are not showing in checkout/onepage/success with the message manager in magento2.4.2

I've to build a module that works fine on magento2.4.0 and success messages are also showing in default checkout/onepage/success with message manager. when I install this module in magento2.4.2 it works fine but success messages are not showing in default checkout/onepage/success with the message manager. Kindly help me to solve this issue.

3 REPLIES 3

Re: Messages are not showing in checkout/onepage/success with the message manager in magento2.4.2

@babarali1a8758 

Please try using the below in "use"

Magento\Framework\Message\ManagerInterface;
Problem solved? Click Kudos and "Accept as Solution"

Re: Messages are not showing in checkout/onepage/success with the message manager in magento2.4.2

@Sanjay Jethva 

I'm using  this (Magento\Framework\Message\ManagerInterface) but not works 

Re: Messages are not showing in checkout/onepage/success with the message manager in magento2.4.2

In which server you're trying?

Is it local or live?

Problem solved? Click Kudos and "Accept as Solution"