First let me say this is NOT a requirement of RevMax.
RevMax functions fine without doing this, it may be YOUR requirement to use a paypal ipn handler script.
If for some reason you need to use a paypal handler script it is simple to intergrate with RevMax.
I personally thought no one used them any longer, but just learnt today it is still used by some so I am placing these instructions here.
Again this may be your requirement. It is Not a RevMax requirement.
The return url is within the payment information sent to paypal.If for some reason you need to still collect information via another script simply edit /www/admin/revmax/payments/paypal/paypal-button.php adding another hidden field rm value like echo "<input type='hidden' name='rm' value='2'>";
You can find more information as to rm value here:
https://www.paypal.com/IntegrationCenter/ic_std-variable-ref-buy-now.htmlThen set the return location of the ad package to your script, paypal will then post all this information back to the RevMax /clients/paypal.php and your script.
Make sure your script is able to forward the user wherever you would like them to go after payment completed.