upon clicking the back button, the pending order status is changed back to rejected. this is good. this is what we want.
but when user lands back on their homepage, they can no longer see that rejected order in their rejected orders table.
is user logs in they can see the order again.
ideas to resolve this: do not utilize "pending" as a status. just stick with rejected or confirm
or figure out why the get request when we go back to the homepage fails when we navigate from the confirmation page...
upon clicking the back button, the pending order status is changed back to rejected. this is good. this is what we want.
but when user lands back on their homepage, they can no longer see that rejected order in their rejected orders table.
is user logs in they can see the order again.
ideas to resolve this: do not utilize "pending" as a status. just stick with rejected or confirm
or figure out why the get request when we go back to the homepage fails when we navigate from the confirmation page...