If you look at the HTML form on the subscription donation page you'll see that the PayPal return URL is ubbthreads.php?ubb=paypal_ipn
Code
<input type="hidden" name="notify_url" value="{$config.FULL_URL}/ubbthreads.php?ubb=paypal_ipn" />

On the reoccurring subscription it has three URLs (sub_thanks.inc.php, sub_cancel.inc.php, paypal_ipn.inc.php):
Code
<input type="hidden" name="return" value="{$config.FULL_URL}/ubbthreads.php?ubb=sub_thanks" />
<input type="hidden" name="cancel" value="{$config.FULL_URL}/ubbthreads.php?ubb=sub_cancel" />
<input type="hidden" name="notify_url" value="{$config.FULL_URL}/ubbthreads.php?ubb=paypal_ipn" />

The paypal_ipn.inc.php script which receives the return status from PayPal, and all of the supplied order details, and updates the database.

IIRC the thanks script simply publishes a notation thanking the user for their order.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!