Expression Engine with Membrr integration
A CMS that will enable you to create truly amazing websites through easy-to-use features and a large contributing community.
Expression Engine is an extensive content and membership management system. Membrr is a plugin for ExpressionEngine that brings paid subscription membership website functionality to a powerful CMS.
Integrate your forms
The first step is to integrate your forms. Login to your Expression Engine (EE) control panel and navigate to Design > Templates > Edit and edit the form your want to integrate. Do this multiple times in case you want to integrate more of your forms.
Find the tag </form> and add this code above it:
<input type="hidden" name="custom" value="" id="pap_dx8vc2s5" />
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
Save your changes.
Edit the gateway
Your forms are integrated, so each form is sending an extra value with a tracking cookie value. You have to process it.
If you are not a programmer, ask one to help you as this is a programming task.
Connect to your server through FTP and find directory ‘opengateway/system/opengateway/libraries/payment/’
There are all payment gateways which you can integrate. Integrate those which you are going to use. The main idea is to load the custom value which a form sent you and send the value to the payment gateway.
This is an example for PayPal:
Edit file paypal.php and find function Charge(). Find a line which calls function $this->Process() and add this code above it:
$post['custom'] = $_POST['pap_custom'];
Save your work.
Now the last step is to activate a plugin for the integrated payment gateway in your Post Affiliate Pro and make sure a payment notification is sent to the plugin. To understand it more, check the original integration method for the payment gateway.
Do not forget to integrate your shopping cart with the click tracking code to make the sale tracking working correctly.