–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

Example:
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.

Paymate Express

A payment service for online payments, eBay payments and mobile payments as well as secure ecommerce facilities including credit card.

Paymate Express integrates Paymate buttons from your web page.

Note: Recurring transactions are NOT supported.

Choose separator

Choose separator which will separateour cookie and ref value. We will use || in this example. Youhave to configure Paymate plugin to use this separator. Go to Plugins > Paymate > Configure > Custom Value Separator.

Paymate Button

Every paymate button code must be updated from image link to from.

Original button looks like this:

<div align="center">
    <p>
         <a onclick="self.name = 'parent';" target="_blank" href="https://www.paymate.com/PayMate/ExpressPayment?mid=testmerchant&amt=58&ref=refnum&return=https://URL_TO_PostAffiliatePro/yourscript.php"><img src="https://www.paymate.com/homepage/images/butt_PayNow.gif" border="0" alt="Pay with Paymate Express"></a>
         <br />Pay with Paymate Express
    </p>
</div>

Now you must substitute it with code below and copy colored values there from code above:

<form action=https://www.paymate.com/PayMate/ExpressPayment method=get>
            <input name="mid" type="hidden" value="testmerchant"/>
            <input  name="return" type="hidden" value="https://URL_TO_PostAffiliatePro/yourscript.php"/>
            <input type="hidden" id="pap_ab45c37" name="ref" value='refnum'> <input type="hidden" name="amt" value='58'>
            <input alt="Paymate Express"src="https://www.paymate.com/homepage/images/butt_PayNow.gif" type="image"/>
         </form>

Integration code

Now add the following code into EVERY Paymate button form. Please make sure that the custom field you have in your button has id=”pap_ab45c37″.

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">PostAffTracker.setAccountId('Account_ID');
PostAffTracker.setAppendValuesToField('||');
PostAffTracker.writeCookieToCustomField('pap_ab45c37');
</script>

This will ensure that referrer will be added to the custom field after the specified separator.

Integration with your processing script – part 1

Now the return callback is pointed to your script. This callback has to beforwarded also to PAP paymate.php script, which url is https://URL_TO_PostAffiliatePro/plugins/Paymate/paymate.php.

In case, your paymate processing script is in PHP, you can use followingcode 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/Paymate/paymate.php");
 curl_setopt($ch, CURLOPT_POST, 1);
 curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
 curl_exec($ch);
/* end of PAP integration */

Integration with your processing script – part 2

The custom parameter is in format refValue||PapValue. Inorder for 3rd party system to work correctly you need to parse refValue from the custom parameter.

To do this add followingcode right after Paymate verification:

<?php
$separator = '||';
    if ($_POST['ref'] != '') {
      $explodedCustomValue = explode($separator, $_POST['ref'], 2);
          if (count($explodedCustomValue) == 2) {
            $_REQUEST['ref'] = $_POST['ref'] = $explodedCustomValue[0];
      }
    }
?>
Back to Integrations Create account for FREE
Would you like to improve your affiliate software even more? Check out the PayPal Express Checkout (IPN & custom field) for Post Affiliate Pro.

PayPal Express Checkout (IPN and custom field used by other script)

Would you like to improve your affiliate software even more? Check out the PayPal Express Checkout (IPN & custom field) for Post Affiliate Pro.

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

PaySimple

The article discusses the integration of Simple PayPal Shopping Cart plugin with the Post Affiliate Pro platform, allowing users to sell products and services directly from their WordPress site. Instructions are provided for editing code and configuring settings for the integration. The article also mentions additional resources and offers a free account to get started with the integration. Contact information and support options are also presented.

Would you like to improve your affiliate software even more? Check out the OptimizePress / OptimizeMember (WP module) integration for Post Affiliate Pro.

OptimizePress / OptimizeMember (WordPress module)

This text is about integrating PayPal with OptimizePress/OptimizeMember. The process involves modifying the PayPal module, adding a special code for PayPal notification integration, and activating the PayPal plugin in Post Affiliate Pro. The integration method is explained step by step with code snippets provided. The text also mentions other available integrations with Post Affiliate Pro.

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

2Checkout INS integration

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

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