After Payment

When a user clicks on a payment button, they are transferred to the payment gateway to pay. After payment, they are returned to the same page as the original payment buttons, and a message is included showing the status of the payment.

Thank you for your payment. Your transaction number is xxx...xxx.

If you included the "-invoice" parameter, this is followed by:

Click here if you'd like an invoice.

These messages appear at the top of the page, in a div of class "pp_presult":

<div class="pp_presult">Thank you for your payment</div>

If you include a div of class "pp_presult" in your article, the plugin will find it and place the status message there instead of at the top of the page. To do this, you need to edit the article in HTML mode, and place an empty div where you want the status message to appear:

<div class="pp_presult"></div>

After payment, details of the payment can be found in the "Payments" section of the Payage administration interface.

Beware of the -success_url Parameter

If you use the -success_url parameter to redirect to a different page following a successful payment, the browser is redirected to the specified page. In this case the user does not see the status message, or their transaction ID, or the invoice link. This probably only makes sense if you configure automatic invoice emailing.