Partner
A leading global provider of credit card processing, fraud and security risk management solutions.
CyberSource integrates using Silent Order POST (SOP). Make sure you don’t already use SOP for another purpose, such as some kind of membership registration etc. If so, please use our other integration method for CyberSource (SOP used by other script)
To integrate with CyberSource, you need CyberSource plugin which is distributed with PAP by default.
Setup your custom variable number
Right after you activate CyberSource plugin you need to setup number of custom variable, which will be used to transfer tracking data to PAP. Login to your merchant panel. Go to menu Start >Plugins. Now click Configure button in CyberSource plugin item. Here you can set up numer from 1 to 4. Default is 1.
Setup your CyberSource account (if you are using Hosted Order Page)
Login to CyberSource Business Center. From left menu, from section Hosted Order Page choose Settings. Check Merchant POST URL and then, as value insert link:
https://URL_TO_PostAffiliatePro/plugins/CyberSource/cybersource.php
Edit button forms
Now add the following code into EVERY CyberSource button form:
<input type="hidden" name="merchantDefinedData2" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
Name of item must be merchantDefinedDataNUMBER. Where NUMBER is number of custom field which you configured in step 1. Make sure that you are not using this field for transfering other data.
If you are not using Hosted Order Page (and use your order forms instead) you need to add one more line to this form:
<input type="hidden" name="orderPage_merchantURLPostAddress" value="https://URL_TO_PostAffiliatePro/plugins/CyberSource/cybersource.php">
This is all that is required. Now whenever there’s sale, CyberSource will use its SOP function to call our sale tracking script, and system will generate commission for the affiliate.