Black Friday Black Friday SALE: 40% off every resource. ONE HOUR LEFT Shop the sale

Downloadable Products for Paymenter

Install the extension, create a product and upload the first version.

On this page

Requirements

  • Paymenter 1.x.
  • The PHP zip extension, to personalise zip files.

1. Upload the extension

Downloadable Products is a server extension. Pick one of the two ways.

From the admin panel

  1. Go to Extensions → Available Extensions and click Upload Extension.
  2. Choose the zip you downloaded and upload it.

Over SFTP

  1. Extract the zip.

  2. Upload the DownloadableProducts folder to the server extensions of Paymenter:

    /var/www/paymenter/extensions/Servers/DownloadableProducts
    
  3. Give the web server user ownership of the files:

    chown -R www-data:www-data /var/www/paymenter/extensions/Servers/DownloadableProducts
    

The extension creates its database tables and its storage folder storage/app/downloads by itself.

2. Add the server

  1. Go to Extensions → Servers and click New server.
  2. Fill in a Name, for example Downloads, and choose DownloadableProducts under Server.
  3. Save.

3. Create a product

  1. Go to Administration → Products and create a product with a price.
  2. Open the Server tab and choose the server you just added.
  3. Save.

4. Upload the first version

  1. Open Downloadable Products → Versions in the admin menu and choose the product.
  2. Under Upload a new version, fill in the Version number, for example 1.0, choose the File and write a Changelog.
  3. Set Status to Published, tick Mark as the latest version and click Upload.

5. Test an order

Order the product with a test account and pay. The service page now shows:

  • Download Latest Version,
  • View Releases & License,
  • the License Key of the service.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.