To integrate JAM into your website / application using a PHP Script, use the following directions:
-
Your landing or thank you page must be written in PHP.
-
Click on Settings>System Integration, select PHP Script on the Integration Type drop down list.
-
Enter the variable name set by your payment processor for amount as the Sale Amount variable to use.
-
Enter the variable name set by your payment processor for transaction or order ID as the Transaction ID variable to use.
-
Enable and enter any more custom variables you want to record as specified by your payment processor. These may include product ID, customer ID, etc. You can name up to 5 different custom variables of your choice.
-
Click Save Integration Settings.
-
Open up your php landing or thank you page, and copy and paste the PHP Code into your web page. Make sure that all variables are correct.