Easy Digital Downloads
The Easy Digital Downloads add-on checks license keys made by EDD’s Software Licensing extension in your forms. It adds the Purchase code field, and the store tells it the product, the buyer and when the license expires.
It works with your store wherever it is: on the same site as the form, or on another one.
Set it up
Store on this site. Nothing to set up: with Easy Digital Downloads and Software Licensing on, the card in Contact Form → Settings → Purchase codes → Easy Digital Downloads says Ready. Keys are read straight from Software Licensing, with no request anywhere.
- In the form, click the Purchase code field and pick your products in Easy Digital Downloads products, or leave it empty for any of them.
Store on another site.
- Type its address in Store address on the same card, such as
https://store.example.com, and save. No API keys: the store’s own license API is asked, the one your products already use for updates. - In the Purchase code field, type the IDs of your products in Easy Digital Downloads products, separated by commas (the ID column of Downloads on your store). The license API asks which product a key is for, so at least one is needed; with several, each is asked in turn until one says the key is its own.
What counts
| The store says | The field |
|---|---|
| A key of your product, active or not yet activated | Lets it through |
| Expired | Turns it away, or lets it through if Support over says so |
| Disabled (revoked), such as after a refund | Turns it away |
| Not found, or a key of a product the field doesn’t take | Turns it away |
| The store doesn’t answer, or no product is set for another site | 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 expiration, or with no end for a lifetime license. A key is 32 letters and digits, 0–9 and a–f, as Software Licensing makes them.
The store’s license API doesn’t say when a key was bought, so [_purchase_bought] is empty for a store on another site.
Privacy
For a store on this site, nothing leaves it. For a store on another site, the key typed in the form and a product ID go to that site when the form is sent.