Braintree Integration
Enable paid WiFi access by accepting credit cards, PayPal, Venmo, and digital wallets on your captive portal using Braintree's payment platform.
Overview
Braintree integration enables:
- Credit/debit card payments
- PayPal payments
- Venmo payments (US only)
- Apple Pay and Google Pay
- Subscription-based access plans
Prerequisites
- IronWiFi account with captive portal configured
- Braintree account (sandbox or production)
- Braintree API credentials
Braintree Account Setup
Create Account
- Go to braintreepayments.com
- Sign up for a sandbox account (for testing)
- Apply for production account when ready
Get API Credentials
- Log in to Braintree Control Panel
- Go to Settings > API
- Copy:
- Merchant ID
- Public Key
- Private Key
- Tokenization Key (for client-side)
IronWiFi Configuration
Step 1: Add Braintree Provider
- Log in to IronWiFi Console
- Navigate to Networks > Captive Portals
- Select your captive portal
- Go to Authentication Providers
- Click Add Provider > Braintree
Step 2: Enter Credentials
Configure Braintree settings:
- Merchant ID: Your Braintree merchant ID
- Public Key: Your public key
- Private Key: Your private key
- Environment: Sandbox (testing) or Production
Step 3: Create Hotspot Plans
Set up purchasable access plans:
- Click Add Plan
- Configure each plan:
- Name: Display name (e.g., "Premium Day Pass")
- Description: Plan details
- Price: Amount (e.g., 9.99)
- Currency: USD, EUR, GBP, etc.
- Duration: Access duration in minutes
- Bandwidth: Optional speed limits
- Data Limit: Optional data cap
Step 4: Payment Methods
Enable desired payment methods in Braintree Control Panel:
- Credit/Debit Cards
- PayPal
- Venmo (requires approval)
- Apple Pay (requires verification)
- Google Pay
Payment Flow
Standard Flow
- Guest connects to WiFi
- Captive portal displays with plan options
- Guest selects plan and payment method
- Braintree handles secure payment
- On success, IronWiFi grants access
- Guest receives confirmation
MAC-Based Reauthentication
Enable automatic reconnection for returning customers:
- In captive portal settings, enable MAC-Based Reauthentication
- Returning users within plan validity auto-connect
- No re-payment required until plan expires
Splash Page Integration
Plan Display
Payment Form
Braintree Drop-in UI handles payment securely:
Was this page helpful?