proshop_django icon indicating copy to clipboard operation
proshop_django copied to clipboard

Solve payment method issue correctly

Open khalidfasely opened this issue 2 years ago • 0 comments

Instead of redirecting the user when he's refreshing the placeorder page to the payment page again and making him choose the payment method and then continue, as you did in the course, we instead initialize the state with the paymentMethod value from the localStorage this way the user when he refreshes the placeorder page doesn't get redirected to the payment page.

khalidfasely avatar Sep 21 '22 16:09 khalidfasely