vBulletin PayPal subscription integration
A solution that helps to build a community website with the leading forum software.
With these steps you will be able to integrate our system with vBulletin PayPal subscription.
Login
Log in to your vBulletin admin panel and go to: Styles & Templates > Style Manager. In this section choose your used style and from the select box click to the Edit templates.
Select the proper template
From the showed templates select: Subscriptions (Paind) Templates and after that subscription_payment_paypal.
Find these lines
In the showed code find these lines:
<input type="hidden" name="notify_url" value="$vboptions[bburl]/payment_gateway.php?method=paypal" />
<input type="hidden" name="custom" value="$userinfo[username]" />
Use this code
After above lines add this code:
<input type="hidden" name="notify_url" value="https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php">
<input type="hidden" name="custom" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
Note: If you using multiple styles, these changes has to be done in each of them!