Freemius
The Freemius add-on checks Freemius license keys in your forms. It adds the Purchase code field, looks the key up in your Freemius products and gets the plan, the buyer’s email and when the license expires.
Set it up
- In the Freemius Developer Dashboard, open a product, then Settings → API & Keys.
- Copy the product’s ID and the API Bearer Authorization Token. A token works for its own product only.
- In Contact Form → Settings → Purchase codes → Freemius → Products, put each product on a line: its ID, a colon, its token, such as
12345: 1a2b3c…. Save; the card says Ready. - In the form, click the Purchase code field and pick plans in Freemius plans, or leave it empty for any plan of any product. With several products, plans show as Product · Plan.
A key is looked up in each product in turn, until one has it.
What counts
| Freemius says | The field |
|---|---|
| A license of the product, not expired | Lets it through |
| Expired | Turns it away, or lets it through if Support over says so |
| Cancelled in the Developer Dashboard | Turns it away |
| No such key, or a license of another plan | Turns it away |
| Freemius doesn’t answer | Lets it through as not verified, unless Store can’t be reached says to turn it away |
Support lasts as long as the license: to its expiry date, or with no end for a lifetime license. A key starts with sk_.
Privacy
The key typed in the form goes to api.freemius.com with each product’s token when the form is sent. Freemius’s terms and privacy policy apply.
Was this article helpful?
Thanks for your feedback!