How Do I Connect a Payment Gateway?

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

  1. Go to Settings → Payment Gateways
  2. Click + Add Gateway
  3. Select your provider
  4. Enter a Name for this gateway (e.g., "Main Stripe Account")
  5. Enter your API credentials
  6. Choose Environment:
    • Sandbox — For testing (no real charges)
    • Production — Live payment processing
  7. 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:

  1. Add the gateway with sandbox credentials
  2. Process a test payment
  3. Verify it appears in your gateway's dashboard
  4. 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.

Last updated April 09, 2026
Was this helpful?