Partner
A user-friendly online payment platform in Nigeria.
VoguePay allows you to make and accept payments online from other voguepay members or etranzact and visa card holders. Master card holders would be signed up when they want to pay you.
With the integration method you can track total cost, order ID, product ID and customer email.
Button integration
To integrate your VoguePay buttons you only have to add this special code into the button code:
<input id="pap_ab78y5t4a" type="hidden" name="notify_url" value="//URL_TO_PostAffiliatePro/plugins/VoguePay/voguepay.php" />
In case you already use notify_url field:
The integration is still possible – add the specific ID property into the input line:
<input id="pap_ab78y5t4a" type="hidden" name="notify_url" value="......." />
When you set this, there is one extra step which you need to take – edit the script which is set in your notify_url param and add this code there (either into beginning of the file or specific function which processes responses from VoguePay):
/* Post Affiliate Pro integration snippet */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'URL_TO_PostAffiliatePro/plugins/VoguePay/voguepay.php?pap_custom='.$_GET['pap_custom']);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
curl_exec($ch);
/* /Post Affiliate Pro integration snippet */
Save your work.
Finalization
When your buttons are integrated, insert the following code to every page where your VoguePay buttons are used:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.writeCookieToCustomField('pap_ab78y5t4a', '', 'pap_custom');
</script>
Make sure the protocol of the URL defined in the code matches your site protocol (if site uses HTTPS the URL has to be HTTPS too).
Do not forget to enable your VoguePay plugin in your Post Affiliate Pro merchant panel.
Do not forget to integrate your site with the click tracking code as well.