How to integrate Paypal Subscription with QLM

QLM uses Paypal Instant Payment Notifications (IPN) to automate the license key generation process and subscription renewal. The first step in setting up the integration is to configure the Paypal IPN to point to the QLM License Server.

In the Notification URL field, enter (update the URL to point to your QLM License Server): https://quicklicensemanager.com/qlmdemov10/qlm/qlmpaypalipn.aspx

Check the option Receive IPN messages (Enabled)

Click Save

Next, you need to create a button that your customers can use to purchase your product.

Logon to your paypal account

In the Profile menu, select My Selling Tools

In the Selling online section, select Paypal buttons / Update

Click Create new button

Set the button type to: Subscriptions

Set the item name as your product name

Select your currency

Enter a billing amount per cycle

Specify your billing cycle

Expand the Step 3 panel

In the Advanced variables section, check Add advanced variable and enter the following in the field: custom=&is_productid=1&is_majorversion=2&is_minorversion=0&is_features=0:1;1:3&is_licensemodel=subscription&is_emailtemplate=Paypal.NewSubscription&is_emailtemplate_renew=Paypal.RenewSubscription

Replace the values for is_productid, is_majorversion, is_minorversion and is_features with the values of your choice.

Click Create button

Go back to the My Saved Buttons page

Next to your product, click the Action dropdown and select View code

Copy the code and paste it on a page in your web site.

You can customize the email template to use when sending an email to the customer. To customize the email template, add the is_emailtemplate argument as shown above. The email template files must be located in the License Server folder, in the same location as the default QlmEmailTemplate.txt template file.

The email template can contain any paypal variable such as %payer_email% or %ProductName%.

As of QLM 9.0.16228.1, the is_emailtemplate argument can be used with templates created in the QLM Management Console / Templates Editor. For example, if you create a template in the QLM Templates Editor called NewOrder, set the is_template as follows: &is_emailtemplate=NewOrder