You can now copy and paste the Paypal code to your web page.
Thank-you Page Integration
If you want to use a thank-you php page and integrate the Paypal code onto that page, you can do the following. This can work if you have lots of Paypal buttons already on your site and don't want to edit each button individually.
If you are using Paypal buttons created on Paypal's site, you will need to add the following when creating the button: rm=2
Add that option under the Customize Advance Features area.
Make sure to also set the Take Customers to this URL when they finish checkout and have it point to your thank-you page. The thank-you page is where you would add your integration code for the affiliate software. Make sure it is a .php page, for example: thankyou.php
Create your button.
Once that is done, open up your thankyou.php page and add the following code:
Paypal Subscription Payments (Subscriptions Not Created At Paypal's Site)
In order to integrate the affiliate software with Paypal subscription payments, You will have to enable IPN or Instant Payment Notification on your Paypal account.
First, make sure you don't have recurring commissions enabled. You can check the setting in Programs > Manage Programs, under the Program Info > Commission Settings area. Look for the Recur Commissions field and set it to 0 (zero)
Below is an example Paypal subscription button that uses the custom and notify_url fields. If you have customized implementation of your Paypal subscription buttons, let us know and we can integrate the software with yours for a nominal fee.