Payments
Keyforge uses Stripe restricted API keys with only the necessary permissions. The secret keys are securely stored and encrypted with AES-256.
Keyforge integrates with Stripe for automatic license generation. No code or webhook setup needed.
One-time purchases
Accept one-time payments and automatically generate licenses.
Subscriptions
Accept recurring payments and generate subscription licenses.
Setup one-time purchases
Upon purchasing a Stripe product, a license is automatically created on Keyforge, and the customer receives a thank you email with the license key.
Make sure you have a Stripe account, a product set up on Stripe, and a corresponding product on Keyforge.
Connect Stripe account
Go to payments and click on "Connect account". A Stripe webhook pointing to Keyforge will be automatically created.

Connect Stripe product
Click on "Connect product".
Your Stripe accounts and products with their prices will be automatically listed. Select the Stripe product price and the corresponding Keyforge product that customers will receive a license for upon purchase.
Choose the options for the created licenses.

You're done! 🎉
It's as simple as that! Create a payment link for your product and start selling. When a customer purchases the product, a license will be automatically created on Keyforge and they will get emailed the license key.
Learn more
Timed licenses
You can choose between two options for creating timed licenses using the Stripe integration:
- Offset: The expiration date of the license will be set to the creation date plus the defined offset.
- Fixed: All created licenses will share the same expiration date, as specified in the options.
Fixed timed licenses
If a customer purchases a fixed timed license that has already expired, they will get an inactive license that will not work.
Invoices
If you enable invoice generation in the Stripe payment link, customers will be able to download their invoice from the portal. You can also download the invoice from the dashboard.