–Hidden comment

Use attributes in format region_from and region_to= to change the languages showing in language switcher.
Available regions are:
europe_from europe_to
asia_from asia_to
mideast_from mideast_to
america_from america_to

europe_from=0 europe_to=22 will put all languages (ordered in language switcher settings) from 1 to 21 to Europe region:
asia_from=22 asia_to=25 will put all languages from 23 to 24 (so only 2) into Asia region.

aMember with PayPal

Accept membership payments, manage profiles, deliver digital content, integrate with your blog, CMS, send newsletters, run affiliate program with this software.

This integration method is for aMember versions lower than v4.

This integration method integrates aMember recurring transactions (using PayPal) with Post Affiliate Pro.

1. Setting up aMember interfase

First of all, you need to add a new field in aMember signup form.

Navigate to Utilities> Add fields. Here you can add any new fields, so click “Add field” button. Set name and title to “custom“, choose “SQL” as a field type and set SQL field type to “String VARCHAR(255)”.

Next settings you need to set: Display type to “Text“, set size of it to 40 and finally set all fields for Visibility of the field to don’t display.

Save your setting. New field should be created for a user, also in a database, so you can use it for any custom details. We will use it for sending VisitorId to PayPal payment plugin in aMember.

2. Modifying signup form files

Navigate to templates/ directory and open file signup.html for edit. Locate the line with code “</form>“.  Insert this code right before it:

<input type="hidden" name="custom" value="default1" id="f_custom">

Now, insert this code after the line with “</form>“:

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">

This code will add VisitorID from cookies, and also from Flash cookies if 1st party cookies were not created because of privacy level, to custom field we created in aMember. This value will be added to the database you can use it anytime later.

3. Modifying the PayPal plugin

Navigate to plugins/payment/paypal_r/ and open the file paypal_r.inc.php for edit. Insert this code right after the line:
function paypal_validate_ipn($vars){

/* PAP4 integration */
 $ch = curl_init();
 curl_setopt($ch, CURLOPT_URL, "https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php");
 curl_setopt($ch, CURLOPT_POST, 1);
 curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
/* end of PAP4 integration */

Now find this line (2x times): ‘custom’ => ”,
and change it to this code:

(isset($u['custom']) && ($u['custom'] != ""))?$u['custom']:""

Note that your cookies have to be available at the domain where aMember is installed at in order to track sales. Otherwise you will need to add the click tracking code to the signup.html file and point the affiliate link directly to the signup.php file.

Back to Integrations Create account for FREE
Would you like to improve your affiliate software even more? Check out the aMember integration for Post Affiliate Pro.


The article discusses the integration of PostAffiliate Pro with aMember, specifically for versions lower than v4. It covers the integration of recurring sales with PayPal, signup form integration, and provides the necessary code for each integration. The article also mentions other software such as AspDotNetStorefront and OpenCart, which can be integrated with PostAffiliate Pro. Overall, the article emphasizes the ease of integrating different software with PostAffiliate Pro and encourages readers to create a free account to try it out.

Would you like to improve your affiliate software even more? Check out the aMember v4 integration for Post Affiliate Pro.

aMember v4

The article discusses the integration of aMember v4 software with PayPal and Post Affiliate Pro for accepting membership payments, managing profiles, delivering digital content, and running an affiliate program. The process includes getting the cookie value, adding a custom parameter to the PayPal request, handling IPN notifications, and syncing aMember signup with Post Affiliate Pro. The necessary files and code changes are described in detail with step-by-step instructions.

Would you like to improve your affiliate software even more? Check out the PaySimple integration for Post Affiliate Pro.


The article discusses the integration with PaySimple, a provider of small business merchant accounts and payment processing services. It explains the steps required to integrate PaySimple into an existing payment form, including creating a return page URL with tracking code and integrating click tracking. The article also lists related resources for integrating other payment services with Post Affiliate Pro.

Learn about the My Account section of  Post Affiliate Pro, where you can manage your account's billing information. Steps to take before and after upgrade.

Post Affiliate Pro My Account section

The My Account section allows users to manage their billing and payment information. It also provides a summary of account usage for the current billing period, with options to download a breakdown of pre-paid usage and view invoice history. Users can change their subscription plan or add/remove addons, but downgrading may result in extra charges for certain features. Billing and payment information can be updated at any time. Users can also stop their account's billing, which will suspend the account after the current billing period ends.

Our website uses cookies. By continuing we assume your permission to deploy cookies as detailed in our privacy and cookies policy.


Schedule a one-on-one call and discover how Post Affiliate Pro can benefit your business.

We’re available on multiple dates

Schedule a call