info_i_25x25.png See important information about Ubiquiti Devices and KRACK Vulnerability in this article. We will update this document as more information becomes available.

UniFi - Configure PayPal Payments Pro with Hotspot

 Overview


Users will learn how to set up guest payment portal with Paypal Payments Pro. This service requires a monthly subscription fee paid to Paypal.

Notes & Requirements: In order to use Paypal, your controller must be run on a fully qualified domain name (FQDN) with an active SSL certificate. Payments Pro is a paid service from Paypal.

Table of Contents


  1. How to Prepare a Paypal Test Account
  2. How to Prepare the UniFi Controller
  3. How to Test
  4. How to Activate Paypal Payments Pro
  5. Related Articles

Part 1: How to Prepare a Paypal Test Account


Back to Top

Use the Paypal article How do I test my integration with the Payflow Gateway using the hosted pages? to set up the Paypal account. Follow the steps closely, as some steps provide important information.

Part 2 of the Paypal guide prompts you to sign in (or sign up) for Paypal.

1. Sign Up

Click Log In > Sign Up > Business Account.

2. Select Account Type

You will be prompted to select an account type. In this example, I selected Payments Standard, then following the guide I was prompted to change to Payments Pro later.

3. Enter your business information

You will be prompted to enter your email and business information. Once all information is entered, you will be taken to the Paypal homepage. To continue, go back to Paypal Developer and log in, then continue to follow part 2 of the Paypal guide.

Note: Part 3.6 of the Paypal guide prompts you to change the payment confirmation from Show confirmation page to On my website. Enter your controller subdomain here.


Part 2: How to Prepare the UniFi Controller


Back to Top

1. Enable Guest Portal

In the UniFi Controller, enable Guest Portal, and select Hotspot Authentication. In order to use Paypal, your controller must be run on a fully qualified domain name (FQDN) with an active SSL certificate.

2. Enable payment-based authorization

Scroll to the Hotspot section, and select enable payment-based authorization.

3. Select field options for final users

Under Payments, select the payment packages and field options that users will be required to fill out. Choose Paypal Website Pro as the payment gateway.

4. Enter Paypal credentials

Under Paypal Website Payment Pro, enter your Paypal account credentials. You can find your credentials by logging in to the developer page, then doing the following:

1. Click Dashboard

2. Click Accounts under sandbox in the sidebar

3. Click on your test account, then select Profile

4. Click the API Credentials tab to see your credentials


Part 3: Testing


Back to Top

Use a client device to connect to the guest network and verify that you are able to connect to the guest portal, and that the pay with credit card button directs the client to a payment page.


Part 4: How to Activate Paypal Payments Pro


Back to Top

Once you have verified that the payment portal is properly configured, activate your Paypal Payments Pro account by logging in to the Paypal Manager and clicking Activate Your Account, which will prompt you to set up billing for the Pro account. 


Related Articles


Back to Top