Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthornathanrice
    • CommentTimeOct 29th 2008
     

    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?

    • CommentAuthorSimon
    • CommentTimeOct 29th 2008
     
    Project Admin

    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
    }