Cheddar Secret Key

Copy/note down your Cheddar secret key.


OSI Affiliate 3rd Party Cheddar Page




Paste already copied secret key here. And also copy/note down webhook URL.


Add OSI Affiliate Webhook to Cheddar

Paste your copied OSI Affiliate webhook URL here.


OSI Affiliate API User Token


Turn Recurring on for a Referral Program

Edit your referral program & click Show Advanced Settings and enable recurring commission with Match Email settings.


Add Sales Thank You Page Code with Email

Go to "Set Up Software" > "Get Thank You Page Code" from Dashboard.
Select Stripe Payment Gateway from dropdown (though we are integrating Cheddar, this code would work).


Copy the the code. Here’s an example code

<script async>
    function hideIF() {    
        document.getElementById('IF').style.visibility = '';
    }
    function getSaleInfo() {
        document.getElementById('st_code').style.visibility = 'hidden';
        document.getElementById('st_code').innerHTML='<iframe src="https://YOUR_SUBDOMAIN.ositracker.com/sales/salejs/amount:PUT_HERE_AMOUNT/transaction:PUT_HERE_TRANSACTION_CODE/customer_email:PUT_HERE_CUSTOMER_EMAIL" alt="" id=IF width=50 height=50 border="0" frameborder="0" onload="hideIF()">';
   }
   window.onload = getSaleInfo;
</script>
<div id="st_code"></div>


Fill the following values in above code or do it programmatically
YOUR_SUBDOMAIN i.e my_company
PUT_HERE_AMOUNT i.e 15
PUT_HERE_TRANSACTION_CODE i.e t125x
PUT_HERE_CUSTOMER_EMAIL i.e my_customer@my_company.com

After email is added with the sale, now whenever there’s payment made on the Cheddar from the same email, affiliate user will get his commission.