• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Using Pabbly Affiliate Management Without Pabbly Checkout Pages

Status
Not open for further replies.

Using Pabbly Affiliate Management Without Pabbly Checkout Pages​


This document provides a structured guideline to leverage the Pabbly Affiliate Management system without the necessity of using Pabbly checkout pages. By implementing the steps mentioned, users can apply an affiliate referral to a customer's subscription via Pabbly Subscription Billing API.

1. Setting Up an Affiliate Link

Navigate to Pabbly Subscription. > Choose 'Affiliate' from the menu. > Go to 'Affiliate Settings' > Go to 'Affiliate Link'. > Add Affiliate Link (Use this option to create an affiliate link directed to your website.)

1697264015457.png


2. When a customer clicks on the referral link provided by an affiliate, they will be redirected to your website. On this redirection, two crucial cookies will be set: "_pac " and "_paclt ". For clarity, your URL might look something like:


1697266114198.png


3. Ensure you store the "_pac" cookie from the URL on your website. This will be essential for linking the customer's purchase to the affiliate.

4. When a customer decides to purchase your product, you will need to call the "Create Customer With Subscription" API. Please refer to the Pabbly Subscription Billing : https://apidocs.pabbly.com/.

5. While making this API call, include the "_pac" value you stored earlier. Use the key "pabbly_affiliate" when you send the "_pac " value. This action ensures that the commission related to this sale is automatically credited under your Pabbly account.


Sample Request:

curl_setopt($curl, CURLOPT_HTTPHEADER, array(
"Content-Type: application/json",
"Cookie: pabbly_affiliate=".$pac

));

And that's it! By following these steps, you can successfully link a customer's purchase to an affiliate without relying on Pabbly's checkout pages. If you have any further questions, always refer to Pabbly's official documentation or support channels.
 

Attachments

  • 1697264778135.png
    1697264778135.png
    40.1 KB · Views: 54
Last edited:
Status
Not open for further replies.
Top