JacksonT Posted July 6, 2017 Share Posted July 6, 2017 I'm using 3rd party payment gateway (https://github.com/MOLPay/WHMCS_Plugin). I want it to go to viewinvoide.php?id=xx after complete payment. However, it always go to cart.php?a=complete page. the code to redirect //****the $orderid is the invoice id. $viewinvoice = $CONFIG['SystemURL']."/viewinvoice.php?id=".$orderid; header('Location: '.$viewinvoice); Appreciate if anyone could help. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.