1 to 2 of 2
Is there a way I can send the user to a custom page that I set up in WordPress after they purchase an ad?
Basically, I want to set up a custom "thank you" page in WordPress that the user will see if they successfully set up an AD. Is there an option that I'm missing somewhere?
The place to do it would be in the payment template (called purchase_payment.tpl).
Just below the line that reads
<?php } elseif($_GET['do'] == "success") { ?>
You could add a re-direction, such as:
if($data->item_status == 1 && $data->payment_status == 1) {
//redirection code here
}
1 to 2 of 2