How Do I Connect a Payment Gateway?
Set up payment processing to accept payments from customers.
Supported Gateways
| Gateway | Setup Needed |
|---|---|
| Authorize.net | API Login ID + Transaction Key |
| Stripe | Secret Key + Publishable Key |
| Square | Access Token + Location ID |
| PayPal | Client ID + Secret |
Adding a Gateway
- Go to Settings → Payment Gateways
- Click + Add Gateway
- Select your provider
- Enter a Name for this gateway (e.g., "Main Stripe Account")
- Enter your API credentials
- Choose Environment:
- Sandbox — For testing (no real charges)
- Production — Live payment processing
- Click Save
Setting a Default
If you have multiple gateways, set one as default:
- Toggle Is Default on the gateway you want as primary
- The default gateway is pre-selected when processing payments
Testing
Always test in Sandbox mode first:
- Add the gateway with sandbox credentials
- Process a test payment
- Verify it appears in your gateway's dashboard
- Switch to Production when ready
Important: Keep your API credentials secure. Never share them publicly or commit them to source code. WareSquared encrypts all payment credentials at rest.