#StackBounty: #magento2 #checkout #cart #redirect #varnish Magento 2 varnish Checkout to cart Redirect Problem

Bounty: 50

I am using Magento 2.3.4

Step To Produce issue:

1)add product to cart

2)go to the checkout page.

3)use a payment method that redirects magneto outside for payment.

4)click on proceed to pay.

5)on payment gateway don’t do the payment.

6)press back from the browser without payment.

7)Now Magento goes to the checkout page Because the session is clear no product is there and the user redirects to the cart page.

8)add one product to the cart.

9)now go to the checkout page. That goto checkout process redirects (302) me to cart page because of varnish.

I think varnish track step 7 and add in browser to redirect users when they come to the checkout page.

How can I stop that redirection? the issue only with varnish, When I use build-in cache is working fine.

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.