cancel
Showing results for 
Search instead for 
Did you mean: 

what event should I use?

what event should I use?

Hi

 

magento 1,9

 

What event should I use for placing code that will be fired right before payment methods are displayed on the checkout page?

 

I want to hide payment method based on what shipping method is selected. So I thought it would be a good idea to put this logic in the event that is fired right before this step on checkout page is displayed?

 

any suggestions?

1 REPLY 1

Re: what event should I use?

You need to refer blog post for your requirement,

Hide Payment method depending on Shipping Method

 

Above post is same as you want for your case.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial