cancel
Showing results for 
Search instead for 
Did you mean: 

How to add reorder link on order failure page

How to add reorder link on order failure page

Hi,

I am using magento 2.2.7 , i would like to add reorder link in failure page.  Please suggest me.

1 REPLY 1

Re: How to add reorder link on order failure page

Hello @tippanna_pawar 

 

When any payment gets failed then Magento clears the items from cart automatically, so you can better stop the cart items disappearing and add a cart link button only at failure page,

Or you can just redirect to cart page without clearing the cart data with an error of failed payment.

 

take reference from here :

https://community.magento.com/t5/Magento-2-x-Technical-Issues/Magento-2-x-x-cart-checkout-item-clear...

 

Hope it helps !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy