Application Callbacks

The Application Callbacks feature in Post Affiliate Pro enables seamless integration with external systems by allowing both merchants and affiliates to configure callback (postback) URLs. These URLs are triggered automatically by the server in response to key events, such as Sale Commission and Signup New Affiliate. This empowers you to automate workflows, synchronize data, and receive instant notifications about important affiliate program activities.

What Are Application Callbacks?

Application Callbacks (also known as postback URLs or webhooks) are HTTP requests sent by Post Affiliate Pro to a specified endpoint when certain events occur within your affiliate program. For example, you can set up a callback to notify your external CRM system whenever a new affiliate is approved or a sale commission is generated.

Supported Callback Events

  • Sale Commission – Triggered whenever a sale commission is created or updated. Callbacks can be set for specific affiliates and commission types.
  • Signup New Affiliate – Triggered when a new affiliate signs up.
  • Affiliate Approved – Triggered when an affiliate is approved for the first time.
  • Transaction Events – Includes refund, chargeback, approval, and decline events for commissions.

Key Features

  • Custom Callback URLs: Both merchants and affiliates can configure their own callback URLs to receive notifications for supported events.
  • Flexible Event Selection: Choose which events should trigger callbacks, such as sales, signups, approvals, and transaction changes.
  • Callbacks per Affiliate and Commission Type: For sale commissions, callbacks can be set up for specific affiliates and commission types for more granular control.
  • Callback Logs: The system keeps a history of all executed callback calls, allowing you to review delivery statuses and troubleshoot integration issues.
  • Status Tracking: Each callback is logged with a status: Pending, Sent, or Error.
  • Email Notifications (for merchants/affiliates): Get notified about creation, update, deletion, or status changes of your callback URLs.
  • Automated Cleanup and Retry: System tasks for managing callback logs and ensuring smooth operation.

How to Use Application Callbacks

  1. Access the Feature:
    Merchants: Log in to the merchant panel and navigate to Configuration and to the Callbacks under the Communication Settings section.
    Affiliates: Log in to the affiliate panel and look for the Callbacks section. Merchant might need to customize the affiliate panel menu to include the Callbacks page first.
     
  2. Add or Edit Callback URLs:
    Click Add New Callback or Edit to set or update your callback URL. Select the event(s) you want the callback to trigger on (e.g., Sale Commission, Signup). You may be able to specify filters such as campaign or commission type. 
     
  3. Review Callback Logs:
    In merchant panel go to Tools->Callback Logs to see a history of all triggered callbacks, including event type, URL, delivery status, and any errors. 
     
  4. Manage Email Notifications:
    Merchants and affiliates can enable email notifications to be alerted when their callback URLs are created, updated, deleted, or when their statuses change.

Callback Statuses

  • Pending – Callback is scheduled but not yet sent.
  • Sent – Callback was delivered to the specified URL.
  • Error – Callback delivery failed (for example, the endpoint was unreachable).

Best Practices

  • Ensure your callback endpoints are always accessible and can process incoming HTTP requests from Post Affiliate Pro.
  • Test your callback URLs with test events before using them in production.
  • Regularly review callback logs to monitor delivery and address any errors.
  • Leverage callback notifications to keep external systems, such as CRMs or analytics platforms, in sync with affiliate program events.

Use Cases

  • Automatically register commissions or signups in your external CRM or marketing system.
  • Trigger custom workflows or notifications in response to sales, signups, or changes in transaction status.
  • Build real-time dashboards or reports using webhook data from affiliate program events.

Summary

The Application Callbacks feature is a powerful tool for automating affiliate program integrations and workflows. By allowing both merchants and affiliates to configure event-driven callback URLs and providing a robust log and notification system, it ensures your business processes can stay up-to-date with key affiliate marketing activities.

×