–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.

  • Integrations
  • Setcom (Auto-post and custom field used by other script)

Setcom (Auto-post and custom field used by other script)

Setcom integrates using Auto-post callback.Use this integration if you are using Auto-post for another purpose, such assome kind of digital delivery or membership registration etc. and you already using custom field for transfering some data.

To integrate with Setcom, you need Setcom plugin which is distributed with PAP by default.

Configure plugin

First you must activate Setcom plugin in PAP > Startmenu > Plugins. After plugin is activated you must configure it. Click Configure button. You must set your Merchant username, password which you are using to login to your merchant panel. Merchant identifier is located in your Setcom merchant panel top menu > My account > Overview tab. You must define some separator. Default value is ||.

SetUp your Setcom settings

Login to your Setcom merchant panel. In top menu > Profile > Selling Preferences select Website Payment Preferences. Make sure that Auto-post is set to on and that Auto-post URL is set to https://URL_TO_PostAffiliatePro/plugins/Setcom/setcom.php.

Do not forget save your settings.

Update Buttons

Now add the following code into EVERY Setcom (Buy now, Add to cart and/or Checkout) button form:

<input type="hidden" name="MerchCustom" value="abc" id="pap_ab78y5t4a">

For example:

<form action="https://www.setcom.com/secure/index.cfm" method="post">
  <input type="hidden" name="buttonaction" value="buynow">
  <input type="hidden" name="merchantidentifier" value="12345678920">
  <input type="hidden" name="liddesc" value="auticko">
  <input type="hidden" name="lidsku" value="a123">
  <input type="hidden" name="lidprice" value="150.00">
  <input type="hidden" name="lidqty" value="1">
  <input type="hidden" name="CurrencyAlphaCode" value="ZAR">
  <input type="hidden" name="LIDExpiry" value="1">
  <input type="hidden" name="ShippingRequired" value="0">
  <input type="hidden" name="IsVoucher" value="0">
  <input type="hidden" name="Option1Name" value="custom">
  <input type="hidden" name="Option1Value" value="oldCustom">
  <input type="hidden" name="MerchCustom" value="abc" id="pap_ab78y5t4a">
  <input type="image" src="https://www.setcom.com/www/graphics/cartbuttons/bn6.gif">

After this form you must insert:

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

Integration with your script

Now the Auto-post callback is pointed to your script. This callback has to beforwarded also to PAP paypal.php script, which url is https://URL_TO_PostAffiliatePro/plugins/Setcom/setcom.php.

In case, your Setcom processing script is in PHP, you can use following code to accomplish that. You can place it at the beginning of your processing file:

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

This will ensure that whole Auto-post callback will be forwarded without affecting your original script

Integration with your script – part 2

The custom parameter is in format 3rdPartySystemValue||PapValue. Inorder for 3rd party system to work correctly you need to parse3rdPartySystemValue from the custom parameter. To do this add following code right after Setcom Auto-post verification.

Assume that in variable $custom_value you have custom value loaded from XML sended by Setcom:

$separator = '||';

if ($custom_value!= '') {
      $explodedCustomValue = explode($separator, $custom_value, 2);
          if (count($explodedCustomValue) == 2) {
            $custom_value = $explodedCustomValue[0];

After this you have your original value in $custom_value.

You can find more detailed info about Setcom integration in Setcom Implementation Guide.

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

Paymate Express

The text provides instructions on integrating Paymate Express, a payment service for online transactions, with PostAffiliate Pro. It includes steps for choosing a custom value separator, updating Paymate button code, adding integration code to Paymate button form, and integrating with processing scripts. The text also offers additional resources on integrating with other payment services.

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

aMember with PayPal

This article is discussing how to integrate aMember with PayPal using Post Affiliate Pro. There are three steps involved in the process which include setting up the aMember interface, modifying the signup form files, and modifying the PayPal plugin. The article provides detailed instructions for each step. The integration method discussed is for aMember versions lower than v4 and involves adding a custom field to the signup form to send VisitorID to PayPal payment plugin in aMember. The article also suggests adding the click tracking code to the signup.html file and pointing the affiliate link directly to the signup.php file.

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


The Setcom plugin integrates with PostAffiliate Pro, allowing for Auto-post callback. To configure the plugin, activate it in the PAP > Start menu > Plugins and set your Merchant details. Set up your Setcom settings by logging into your Setcom merchant panel and ensuring that Auto-post is on and the URL is set to https://URL_TO_PostAffiliatePro/plugins/Setcom/setcom.php. Then, add code into every Setcom button form and insert a script. For more details, see the Setcom Implementation Guide. A free account is available.

Would you like to improve your affiliate software even more? Check out the Setcom (Auto-post used by other script) integration for Post Affiliate Pro.

Setcom (Auto-post used by other script)

This article discusses how to integrate Setcom with PostAffiliate Pro using the Auto-post callback feature. It provides step-by-step instructions on configuring the Setcom plugin in PAP, setting up Auto-post in the Setcom merchant panel, updating button forms with the necessary code, and integrating with your script. The article also includes links to additional resources on Setcom integration with PAP.

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