wp_redirect() not working with LiteSpeed Cache on
-
Hello – i wrote payment gateway – i get notification when payment is complete via wc-api function and use construction to redirect to the thank you page like this:
$redirectUrl = $this->get_return_url($order);
wp_redirect($redirectUrl);
exit;Everything works – url is correct – but redirection doesn’t happen!
Please help! I can’t understand what is going on…..
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp_redirect() not working with LiteSpeed Cache on’ is closed to new replies.