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


An online payment processing company established in Europe since 2006.

CommerceGate provides a complete set of online billing solutions that can be instantly used to sell your services to your costumers quickly and safely. The integration with it is pretty simple thanks to built-in plugin in Post Affiliate Pro.

It handles automatic affiliate signup, declining of affiliate in case they stopped paying for membership. It supports lifetime commissions and per product ordering.

Form integration

The first step is to integrate the payment form. Each form is pointing to commercegate secure URL:
where XXXXX is your commercegate account ID and YYYYY is a special code for your (validated) website.

The integration is based on commercegate option of using custom data. In case you are using op1 already, use op2 or op3. In our example, we are using op1. Add this code to the code of your payment form:

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

As you can see, the function writeVisitorIdToAttribute() uses a value vd35c0e5hw and also op1. The value vd35c0e5hw is used to identify the form, so your payment form has to have an ID:
<form id=”vd35c0e5hw” …>

The op1 value is the custom value. In case you need to change one of the two values mentioned above, you can do it.

Plugin activation

Second step is to activate CommerceGate plugin in your Post Affiliate Pro. Just navigate to Plugins section, activate and configure it.

Setup of notifications

The last step is to setup Callbacks in your CommerceGate admin panel. Navigate to Gateway Configuration section and use the following link as a value for Callback URL:


In case you are already using the Callback URL field for another URL, just ask commercegate technical team to configure another URL for you – provide them with your plugin URL (from above). They will help you.

Finally, set the Callback type to XML. That is all you have to do.

Do not forget to integrate your site with the click tracking code.

Back to Integrations Create account for FREE

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