FastSpring is an All-in-One Payment & Subscription Platform.
To integrate with FastSpring, you need to utilize its webhook functionality. Simply add a webhook in the
FastSpring dashboard to send webhooks for order.completed events to the LICENSE4J License Server.
FastSpring Setup
- Add a Webhook
Log in to your FastSpring dashboard and proceed to "Developer Tools" followed by "Webhooks" in the left-hand
menu. Select the "Configuration" tab, and on the subsequent page, click the "Add Webhook" button located in
the top right corner. Type a title, and select "Enable webhook expansion" option.
Next, you need to add the endpoint URL to send the webhook. Click on the "Add URL Endpoint" button, and
define URL as
"https://cloud.license4j.com/v5/intg" Select "order.completed" event type.
LICENSE4J Setup
- Add a Payment Processor Setting
In the LICENSE4J web application, navigate to the "Settings" menu on the left. Click on the "Actions" menu,
and then select the "Add Payment API" option. From the dropdown menu, choose FastSpring. No API key is
required, and the webhook endpoint URL for FastSpring will be displayed.
- Add an Integration
Navigate to the "Automation" section and then select the "Integrations" menu from the left sidebar. Click on
the "Actions" option, followed by "New" to create a new item. In the dialog that appears, choose the
product and payment type. The most important element to specify is the "Product Id", which is listed in
the FastSpring product settings under the label " Product Path."
This concludes the integration of LICENSE4J with FastSpring. In summary, a webhook is set up on FastSpring
to send "order.completed" events to the LICENSE4J server. Only one integration setting is required on the
LICENSE4J server to align the products from FastSpring with those in LICENSE4J.