Adding PayPal Subscriptions
  • 25 May 2022
  • 2 Minutes to read
  • Dark
    Light

Adding PayPal Subscriptions

  • Dark
    Light

Article Summary

LightSpeedVT now offers PayPal as a payment option for you customers. In order to enable PayPal, you must have a Chargify integration in place. PayPal will use the LSVT checkout page (integrated with Chargify) to process payments. To begin using PayPal just follow the instructions below.

Step 1 – Obtain API Client ID and Secret Key

Log into your PayPal account and enable developer mode, then obtain your API Keys.

202005paypal-step1.png

Under “My Apps and Credentials” toggle the setting to “Live”, then below that click “Create App”. The name can simply be set to “LightSpeed VT Integration” , since it will be used only for transactions to LSVT.

202005paypal-myappAndCredentials-1024x381.png

After that, you’ll be presented with an API Client ID and Secret Key, copy and paste these two pieces of information into the Chargify Checkout page settings.

202005paypal-apiCredentials-1024x869.png

Next, navigate to the checkout page that you’d like to use with PayPal and paste in the API Client ID and Client Secret Key into the respective fields under the “PayPal Account” section.

202008checkoutpaypalsection-1024x401.png

Step 2 – Webhook

Next, you’ll add the webhook endpoint to Paypal. The endpoint url is

https://webservices.lightspeedvt.net/chargify/paypalwebhook.ashx?dataid=XX

The XX is the “data id” of the checkout page that you want to integrate with PayPal. You can get the data id by navigating to the checkout page that you’d like to enable PayPal for and the data id will be in the url. So in this instance, the webhook endpoint would look like this.

https://webservices.lightspeedvt.net/chargify/paypalwebhook.ashx?dataid=1292

202008paypal-1-1024x540.png

After you plug in the correct id, you’ll want to add the webhook endpoint to your PayPal account.

202008paypalwebhook.png

When you add the webhook, you’ll want to check the box next to the following Event Types

  • Billing subscription activated
  • Billing subscription cancelled
  • Billing subscription expired
  • Billing subscription re-activated
  • Billing subscription renewed
  • Billing subscription suspended

202008paypalendpointevents.png

Step 3 – Configuring PayPal Subscriptions

To set up subscriptions in PayPal, you’re going to navigate to the “Get Paid” section and click on “Subscriptions”.

https://www.paypal.com/merchantapps/getpaid

202008paypalsubscriptions-1024x826.png

Next, you’ll be provided step by step instructions to follow.

202008paypalsubinstructions.png

Create the subscription product, you’ll need to provide the product name and product type, all other fields are optional.

202008paypalsubinstructions2-1024x1002.png

Choose the subscription product that you created.

202008paypalsubinstructions3-1024x737.png

Now, create the subscription plan by choosing “Fixed Pricing”, quantity pricing is currently not available.

202008paypalsubscriptionplan-1024x659.png

202008paypalsubscriptionplan2-1024x664.png

Next, provide the price of the subscription and the billing frequency.

202008paypalsubscriptionplan3-1024x776.png

202008paypalsubscriptionplan4-1024x719.png

After you’re done filling all of the subscription info, save the plan and then tun it on.

202008paypalsubscriptionplan5-1024x1016.png

202008paypalsubscriptionplan6.png

Enter your Client ID and click “Generate Code”.

202008paypalgeneratecode.png

After the code is generated, click “Go to Subscriptions” and copy the “Plan ID”.

202008paypalgeneratecode2.png

202008paypalplanid-1024x795.png

Paste the ID into the product settings for corresponding chargify product in the LSVT checkout page product area.

202008paypallsvtproductsetting.png

202008paypalsubscriptionidcheckout.png

Be sure to click save at the bottom of the page after you’ve pasted in the subscription id.

The Checkout Process


There is the option to show Paypal as the only payment option, and bypass Chargify fields altogether.

In the checkout page URL, add the parameter chargify and set its value to 0

Example: https://webservices.lightspeedvt.net/chargify/bill/checkout.aspx?dataId=1234&g=56789&p=product_name&chargify=0

After you’ve pasted the Subscription ID to the product settings, a PayPal button will appear at the bottom of the checkout page for that product.

202008paypalcheckoutbutton-668x1024.png

When the user clicks on the PayPal option, they will be asked to sign into their PayPal account and given the opportunity to choose a card that they have on file with Paypal.

202008paypallogin.png

202008paypalchoosecard.png

202008paypalagree.png

After the customer clicks the “Agree & Subscribe” button, the transaction will be processed. After a successful payment, they will be brought to the last step of the checkout process, where they can create their user account within LSVT.

202008paypalcreateaccount-1024x418.png



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.