Skip to main contentSkip to search
Skip to main content

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

  1. Go to braintreepayments.com
  2. Sign up for a sandbox account (for testing)
  3. Apply for production account when ready

Get API Credentials

  1. Log in to Braintree Control Panel
  2. Go to Settings > API
  3. Copy:
    • Merchant ID
    • Public Key
    • Private Key
    • Tokenization Key (for client-side)

IronWiFi Configuration

Step 1: Add Braintree 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 > 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:

  1. Click Add Plan
  2. 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

  1. Guest connects to WiFi
  2. Captive portal displays with plan options
  3. Guest selects plan and payment method
  4. Braintree handles secure payment
  5. On success, IronWiFi grants access
  6. Guest receives confirmation

MAC-Based Reauthentication

Enable automatic reconnection for returning customers:

  1. In captive portal settings, enable MAC-Based Reauthentication
  2. Returning users within plan validity auto-connect
  3. 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?