All posts

Automate licensing with Stripe

Nicholas Affonso

May 07, 2025

Automate licensing with Stripe

Keyforge allows you to automate licensing by integrating directly with Stripe. The integration automatically generates licenses for purchases and subscriptions, eliminating the need for manual license management and custom webhook setups.

How it works

After connecting your account, you can link your Stripe prices to corresponding Keyforge products through the dashboard.

When a customer completes a purchase or subscribes to your product via Stripe, Keyforge will automatically generate a license and email the customer their license key along with other relevant details.

For one-time purchases

For one-time purchases, Keyforge generates a license according to your preferences at the time of purchase and sends a thank-you email to the customer with the license key. You define whether the license is perpetual, timed, or expires after a set time after purchase. You can also specify the maximum number of devices the license can be activated on. A step-by-step guide is available here.

For subscriptions

For recurring payments, Keyforge generates a timed license at the time of subscription and sends a thank-you email to the customer with relevant information. The license expires if the subscription isn't renewed and is updated when an invoice is paid. A step-by-step guide is available here.

Additionally, with subscriptions, customers can switch plans through the Stripe billing portal, and Keyforge will automatically update their license. Plan quantity is also handled seamlessly, which multiplies the maximum number of active devices allowed by a license.

Integrating with the customer portal

The Stripe integration works seamlessly with the Keyforge customer portal. With just their email address, customers can:

  • Manage their licenses
  • View and download invoices through Stripe
  • Manage their subscription through the Stripe billing portal

The customer portal offers more than that. You can learn more about it here.

Final thoughts

By connecting Keyforge to Stripe, you eliminate the manual overhead of creating licenses and deliver a better experience to your customers. Whether you're selling one-time products or subscriptions, Keyforge handles license delivery, validation, and management.

Simplify your licensing process

Focus on building your product and let us handle licensing. Automatically generate licenses and give your customers a self-service portal.