Setcom integrates using Auto-post callback. Use this integration if you are using Auto-post for another purpose, such assome kind of digital delivery or membership registration etc.
To integrate with Setcom, you need Setcom plugin which is distributed with PAP by default.
Configure plugin
First you must activate Setcom plugin in PAP > Start menu > Plugins. After plugin it’s activated you must configure it. Click Configure button. Youmust set your Merchant username, password which you are using to loginto your merchant panel. Merchant identifier is located in your Setcom merchant panel Top menu > My account > Overview tab. Leave custom value separator blank.
SetUp your Setcom settings
Login to your Setcom merchant panel. In top menu > Profile > Selling Preferences select Website Payment Preferences. Make sure that Auto-post is set to on and that Auto-post URL is set to https://URL_TO_PostAffiliatePro/plugins/Setcom/setcom.php.
Do not forget save your settings.
Update Buttons
Now add the following code into EVERY Setcom (Buy now, Add to cart and/or Checkout) button form:
<input type="hidden" name="MerchCustom" value="" id="pap_dx8vc2s5">
For example:
<form action="https://www.setcom.com/secure/index.cfm" method="post">
<input type="hidden" name="buttonaction" value="buynow">
<input type="hidden" name="merchantidentifier" value="12345678920">
<input type="hidden" name="liddesc" value="auticko">
<input type="hidden" name="lidsku" value="a123">
<input type="hidden" name="lidprice" value="150.00">
<input type="hidden" name="lidqty" value="1">
<input type="hidden" name="CurrencyAlphaCode" value="ZAR">
<input type="hidden" name="LIDExpiry" value="1">
<input type="hidden" name="ShippingRequired" value="0">
<input type="hidden" name="IsVoucher" value="0">
<input type="hidden" name="Option1Name" value="custom">
<input type="hidden" name="Option1Value" value="oldCustom">
<input type="hidden" name="MerchCustom" value="" id="pap_dx8vc2s5">
<input type="image" src="https://www.setcom.com/www/graphics/cartbuttons/bn6.gif">
</form>
After this form you must insert:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript"> </script> <script type="text/javascript"> PostAffTracker.setAppendValuesToField('||'); PostAffTracker.writeCookieToCustomField('pap_ab78y5t4a'); </script>
Integration with your script
Now the Auto-post callback is pointed to your script. This callback has to beforwarded also to PAP paypal.php script, which url is https://URL_TO_PostAffiliatePro/plugins/Setcom/setcom.php.
In case, your Setcom processing script is in PHP, you can use following code to accomplish that. You can place it at the beginning of your processing file.
/* PAP integration */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://URL_TO_PostAffiliatePro/plugins/Setcom/setcom.php");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
curl_exec($ch);
/* end of PAP integration */
This will ensure that whole Auto-post callback will be forwarded without affecting your original script
You can find more detailed info about Setcom integration in Setcom Implementation Guide.
Scale Lead is a CPA network that offers fixed commissions for media and marketing affiliates. They have campaign rules and policies on explicit, religious, and political content. The program supports text link banners and accepts worldwide advertisements. The affiliate manager can be contacted through Media and Marketing Mail or LinkedIn. They also offer a free 14-day trial and Post Affiliate Pro integration. Nochex integration for Post Affiliate Pro is available as well. The company's website uses cookies and provides contact forms and live chat options. They also provide support, knowledge base, and have a customer review section. Quality Unit is the company behind Scale Lead. They offer various pricing plans and features with integrations and alternatives. They have a company profile and a list of resellers. They also have a blog and an affiliate marketing academy. Users can subscribe to their newsletter and follow them on social media. The company has terms of service, security policy, privacy policy, and GDPR compliance. They are currently building the dashboard for Post Affiliate Pro after users sign up and will send login details via email after installation is complete. The website also offers a schedule for one-on-one calls to discuss the benefits of Post Affiliate Pro for businesses. Contact forms, live chat, and email options are available for contacting the company.