Home
Integration Methods
Paysite Cash
This is integration method for Paysite Cash - secure payment and shared affiliation platform. It integrated the thank you page so the sale commission can be registered to the proper affiliate of PAP4.
1
Setting up the processing file
Login to your merchant account at Paysite Cash. Navigate to your Credit Card menu and create the site (or select site craeted one- to modify general settings, navigate to General parameters). What we need to do is to setup "Backoffice confirmation url".
At your computer, create file process.php and insert this code into the file:
Do not forget to change merhcant login
Upload the file into /scripts folder of your PAP4. Then setup the Backoffice confirmation url in Paysite admin panel to this file:
http://www.yoursite.com/affiliate/scripts/process.php
2
Generate button code
For now, we setup file to receive the proper data. Now, we have to make buttons to send it. Paysite offers your the "link generator". You can easily create HTML form with button code.
Get back to site options and click on "Payment url generator". Setup all needed parameters. The code you will get looks like this:
3
Integrate the button
To send all necessary info to process.php file, you need to add some code into form:
If you will have any problems with testing, add this part of code:
<input type="hidden" name="debug" value="1" />
place it over </form> tag.
Now, any sale that was referred by affiliate, will be tracked.