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
- Go to paypal.com/business
- Sign up for a Business account
- Complete verification
Get API Credentials
- Log in to PayPal Developer Dashboard (developer.paypal.com)
- Go to My Apps & Credentials
- Create a new REST API app:
- App Name: IronWiFi WiFi Payments
- Account: Your business account
- Copy credentials:
- Client ID
- Client Secret
Sandbox Testing
For development:
- Use Sandbox credentials
- Create sandbox buyer accounts
- Test payment flow before going live
IronWiFi Configuration
Step 1: Add PayPal Provider
- Log in to IronWiFi Console
- Navigate to Networks > Captive Portals
- Select your captive portal
- Go to Authentication Providers
- 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:
- Click Add Plan
- 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:
| Plan | Price | Duration | Data |
|---|---|---|---|
| 1 Hour | $1.99 | 60 min | Unlimited |
| Day Pass | $4.99 | 1440 min | Unlimited |
| Week | $14.99 | 10080 min | 20 GB |
Payment Flow
Guest Experience
- Guest connects to WiFi
- Captive portal shows available plans
- Guest selects plan and clicks "Pay with PayPal"
- Redirected to PayPal Checkout
- Guest logs in to PayPal or pays with card
- Payment confirmed
- Redirected back, access granted
Technical Flow
Customization
Splash Page Integration
Add PayPal buttons to your splash page:
Was this page helpful?