Introduction
Devolens can be integrated with payment systems in several ways. Two common use cases are:- If you already have an existing setup (e.g. internal system/workflow) or want to use a third-party payment gateway, you can either call the Web API to e.g. issue a license key or extend the license or use Zapier/n8n(“no code” automation platforms).
- If you want Devolens to manage the backend that processes the payments, you can either use Payment Forms or recurring billing feature within Devolens.
Getting started
Native integrations
Devolens offers two native integrations that process payments and help you to issue a license to the customer automatically:- Hosted Payment Form - allows you take one-time payments through either Stripe or PayPayl and show the customer the license key if the payment was successful. They can be used to either issue a new license or make changes to the license (e.g. extend it for another year or add a new feature).
- Recurring payments with Stripe - allows you to support subscriptions or charge customers for usage. The default setup requires a customer to sign up for a customer account. However, if you prefer to use your own UI, you can still use our Stripe webhook listener to ensure that subscription status is synched with licenses in Devolens (for example, a license is extended when the monthly subscription is renewed or blocked if the subscription is cancelled). This is covered in this article.
Third party or your own system
If you prefer to use your own system or a third-party provider, you can instead use our Web API or Zapier/n8n app. Below are two ways such integration can work:- Web API - some payment gateways or merchant of record solutions already provide a way to call an external URL to issue a license key upon a successful payment. If you just need an URL that returns a new license key, please see this article. If you maintain your own backend, you can call our Web API to issue a new license.
- Zapier/n8n - many payment providers and CRMs offer Zapier or n8n apps that expose “triggers” when a certain event has occurred, for example, when a new subscription is created. Devolens offers a Zapier app as well, which exposes actions to e.g. issue a new license. You can use these no-code tools to setup a process of what should occur when a payment is processed and how a license should be delivered to the end user.