Accept payments online with an online payment processing service that helps you accept credit cards, PayPal and debit cards.
To integrate with 2Checkout using INS you need 2Checkout plugin for Post Affiliate Pro.
First you have to activate "2Checkout" plugin in Post Affiliate Pro (You can find it in plugins section Configuration> Plugins).
You have to pass the tracking cookie value (visitorId) to 2Checkout along with payment details. To do this, check if your form uses a hidden field named merchant_order_id:
<input type='hidden' name='merchant_order_id' id='merchant_order_id' />
If it does add the following code into the form. Otherwise, add also the above line.
After logging into 2Checkout navigate to Integrations> Webhooks & API> INS Settings and add an endpoint to point to this URL:
Tip: If you want to use recurring commissions you have to activate 'Recurring Commissions' feature in Post Affiliate Pro.
The notifications are not sent out in the test mode. If you want to test your integration, you will have to do a live 'test'. Create a $1 product and test it.