Skip to main contentSkip to search
Skip to main content

PayPal Integration

Enable paid WiFi access by accepting PayPal and credit card payments on your captive portal using PayPal Checkout with support for multiple currencies.

Overview

The PayPal integration enables:

  • One-time payments for WiFi access
  • PayPal Checkout for seamless payments
  • Credit/Debit card acceptance via PayPal
  • Multiple currencies support

Prerequisites

  • IronWiFi account with captive portal configured
  • PayPal Business account
  • PayPal REST API credentials

PayPal Setup

Create Business Account

  1. Go to paypal.com/business
  2. Sign up for a Business account
  3. Complete verification

Get API Credentials

  1. Log in to PayPal Developer Dashboard (developer.paypal.com)
  2. Go to My Apps & Credentials
  3. Create a new REST API app:
    • App Name: IronWiFi WiFi Payments
    • Account: Your business account
  4. Copy credentials:
    • Client ID
    • Client Secret

Sandbox Testing

For development:

  1. Use Sandbox credentials
  2. Create sandbox buyer accounts
  3. Test payment flow before going live

IronWiFi Configuration

Step 1: Add PayPal Provider

  1. Log in to IronWiFi Console
  2. Navigate to Networks > Captive Portals
  3. Select your captive portal
  4. Go to Authentication Providers
  5. Click Add Provider > PayPal

Step 2: Configure API

Enter PayPal credentials:

  • Client ID: Your PayPal REST API Client ID
  • Client Secret: Your PayPal Client Secret
  • Environment: Sandbox (testing) or Live (production)

Step 3: Create Access Plans

Configure WiFi access plans:

  1. Click Add Plan
  2. Set up each plan:
    • Name: Display name (e.g., "1 Hour Access")
    • Price: Amount (e.g., 2.99)
    • Currency: USD, EUR, GBP, etc.
    • Duration: Access time in minutes
    • Data Limit: Optional data cap

Example Plans:

PlanPriceDurationData
1 Hour$1.9960 minUnlimited
Day Pass$4.991440 minUnlimited
Week$14.9910080 min20 GB

Payment Flow

Guest Experience

  1. Guest connects to WiFi
  2. Captive portal shows available plans
  3. Guest selects plan and clicks "Pay with PayPal"
  4. Redirected to PayPal Checkout
  5. Guest logs in to PayPal or pays with card
  6. Payment confirmed
  7. Redirected back, access granted

Technical Flow

Customization

Splash Page Integration

Add PayPal buttons to your splash page:

https://auth.ironwifi.com/webhook/paypal/your-org-id

Was this page helpful?