How to display Dedicated IP in viewinvoice.tpl and invoicepdf.tpf?
I try to use {php}{/php} to query out the product details but it doesn't work anymore.
Please help.
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.