When you have uploaded the script, you will see an installation form. You can skip the manual configuration below.
In the root of the project there is a file named
.env.example. Duplicate this file to
.env and open it with an editor. After configuring all settings, upload the file.
Make sure there is a dot (.) in front of the file name. If you rename the file in Windows check this out.
If you use mailgun, change:
And enter settings accordingly as found here.
MAIL_DRIVER=mailgun MAIL_HOST=smtp.mailgun.org MAIL_PORT=587 MAIL_ENCRYPTION=tls MAIL_USERNAME=[SMTP username] MAIL_PASSWORD=[SMTP password] # Mailgun settings (optional) MAILGUN_DOMAIN=[your mailgun domain, e.g. mg.example.com] # You can find the Private API key by logging in to your Mailgun dashboard # and navigate to Settings > API Security. MAILGUN_SECRET=[Private API key] # Uncomment the line below if you want to specify the Mailgun endpoint. # By default api.mailgun.net is used. # The values can be api.mailgun.net, api.eu.mailgun.net or api.us.mailgun.net # depending on the region you selected in the Mailgun dashboard. # MAILGUN_ENDPOINT=api.eu.mailgun.net
By default the admin can manage subscriptions and expiration dates manually.
Follow these steps for Stripe.
If you use Paddle your receiving webhook url is
https://example.yourdomain.com/api/webhooks/paddle. Replace "example.yourdomain.com" with the domain or subdomain of your installation. You can configure this in your Paddle dashboard if you go to Developer Tools > Alers / Webhooks > URL for receiving webhook alerts. Or click here.
For 2Checkout your webhook (IPN) is
https://example.yourdomain.com/api/webhooks/2checkout/ipn. Replace "example.yourdomain.com" with the domain or subdomain of your installation. You can configure this in your 2Checkout dashboard if you go to Integrations > Webhooks & API > IPN settings > Add IPN URL. Or click here.
You will also find your Merchant code and Secret key on the IPN settings page.
Make sure these response tags are checked (others can be checked too, but the tags below are required):
Edit .env file
After editing and uploading this file, proceed with the next step.