How to configure PayPal with WHMCS as the Payment Gateway?

This guide is about what you need to follow to sucessfully configure WHMCS with PayPal.

Step 1: Enabling PayPal payment gateway in WHMCS

  1. Log into WHMCS admin panel and go to Setup > Payments > Payment Gateways

  2. From Activate Module drop down list, select PayPal and click on Activate.

  3. Enter your PayPal email address.

  4. Go through the settings for PayPal subscriptions, and enable or disable the options as you prefer.
    for example you can remove the subscription button, allowing customers to make one time payments only, or do the opposite and force customers to subscribe to reoccurring services and disable one time payment button.)

  5. The API settings are needed for automatic refunds.
    The API details can be obtained from your PayPal account
    log into PayPal > Profile > My Selling Preferences > click on update link of API Access Field > on Option 2 section, click on Request API Credentials > Choose Request API Signature and hit on Agree and Submit button > you now have the details for the requested in WHMCS. Paste the details in the relevant fields in WHMCS.

  6. Click Save Changes button and copy the IPN (Instant Payment Notification) URL.


Step 2: Setting up in PayPal

  1. Return to PayPal account and navigate to Profile > Instant Payment Notification Settings.

  2. Click Choose IPN Settings.

  3. Paste the copied URLin step 1 into the Notification field

  4. Select Receive IPN Messages (Enabled) option.

  5. Click Save.


Final Step: Return to WHMCS and complete the configuration

  1. Once you are back in WHMCS admin panel go to Setup > Products/Services > Products/Services

  2. Click the edit icon next to a product group.

  3. Check the PayPal checkbox.

  4. Finally click Save Changes.
    Note: Repeat this step for all your product groups.

You now know how to configure PayPal with your client and billing management system – WHMCS.

You can also watch the following video on the above process.