Ablefy Integration with LearningSuite
Requirements
Access to Ablefy with admin permissions
Products created in Ablefy
Access to the LearningSuite admin interface
Set up the integration
Generate API access in Ablefy
In Ablefy, navigate to Settings > Integrations > ablefyAPI
Generate an API Key and Secret
Configure LearningSuite
In LearningSuite, go to Settings > Integrations
Select Ablefy
Enter the API Key and Secret
Note: If the key is correct, a webhook named LearningSuite is automatically created in Ablefy under Market & Sell > Webhooks
Connect products
In LearningSuite:
Go to Products > New Product Connection
Select Ablefy
Select a product from the dropdown (loaded via API)
Name and Product ID are filled in automatically
Test the integration
Order products in the Ablefy test store
View webhook requests
In Ablefy under Logs > Webhooks
Check the behavior in LearningSuite
If payment is successful: A Member is created and assigned to the bundle
If payment fails: Access is blocked
Special notes on Ablefy
Gift transactions:
If a purchase is given as a gift, the webhook contains a gift_receiver object. The data (email, first_name, last_name, country_code) is then taken from this object.
Cancelled subscriptions with remaining term:
If a subscription is cancelled but remains active until a specific date, the end date in Bundle Access is set to the payments_schedule_next_rate_date. This ensures that access remains available until then.
