Payment Settings Documentation¶
Menu Location: Settings > Payment Settings (or Payment Gateway Configuration)
Access Level: Administrator and above
Last Updated: 2026-03-01
Overview¶
The Payment Settings page allows you to configure and manage payment gateway integrations, including Stripe, Authorize.net, and other payment processors. This page is critical for ensuring secure payment processing, managing merchant accounts, and troubleshooting payment issues.
Primary Functions:
- Configure payment gateway credentials
- Manage Stripe and Authorize.net settings
- Test payment processing connections
- View payment gateway status
- Configure payment methods accepted
- Set up recurring billing parameters
- Troubleshoot payment failures
Page Layout¶
Header Section¶
- Active Payment Gateway: Shows currently configured processor
- Connection Status: Live/Test mode indicator
- Test Connection Button: Verify gateway connectivity
- Save Settings Button: Apply configuration changes
Payment Gateway Tabs¶
- Stripe Settings - Stripe configuration
- Authorize.net Settings - Authorize.net configuration
- Other Gateways - Additional payment processors
- General Settings - Universal payment settings
Configuration Sections¶
Each gateway tab contains:
- API Credentials input fields
- Test Mode toggle
- Accepted payment methods
- Recurring billing settings
- Webhook configuration
- Transaction fee settings
Stripe Configuration¶
Required Credentials¶
Publishable Key:
- Public key for client-side card collection
- Safe to expose in website code
- Different keys for test and live mode
Secret Key:
- Private server-side API key
- Never exposed to customers
- Required for processing transactions
Webhook Secret:
- Validates webhook authenticity
- Prevents fraudulent webhook calls
- Auto-generated by Stripe
Configuration Steps¶
- Log in to Stripe Dashboard
- Navigate to Developers > API Keys
- Copy Publishable Key
- Copy Secret Key
- Paste into Payment Settings page
- Toggle Test Mode (for testing) or Live Mode (for production)
- Click "Test Connection"
- Verify successful connection
- Save settings
Webhook Setup¶
Purpose: Receive payment event notifications
Setup:
- In Stripe Dashboard: Developers > Webhooks
- Click "Add Endpoint"
- Enter webhook URL (provided on settings page)
- Select events to listen for:
- payment_intent.succeeded
- payment_intent.payment_failed
- charge.refunded
- customer.subscription.updated
- Copy Webhook Signing Secret
- Paste into Payment Settings
- Save
Test Mode vs Live Mode¶
Test Mode:
- Use test API keys
- No real money processed
- Use test card numbers
- Test transactions don't affect live data
Live Mode:
- Use live API keys
- Real transactions processed
- Real cards charged
- Affects actual bank accounts
Best Practice: Test thoroughly in test mode before going live
Authorize.net Configuration¶
Required Credentials¶
API Login ID:
- Your Authorize.net account login ID
- Found in Authorize.net dashboard
Transaction Key:
- Secret key for API access
- Generate in Account > Security Settings
Signature Key:
- For webhook signature validation
- Optional but recommended
Configuration Steps¶
- Log in to Authorize.net Merchant Interface
- Go to Account > Security Settings > API Credentials
- Create new Transaction Key (existing key won't display again)
- Copy API Login ID
- Copy Transaction Key
- Paste into Payment Settings page
- Select environment (Sandbox or Production)
- Test connection
- Save settings
Sandbox vs Production¶
Sandbox:
- Test environment
- No real transactions
- Use test credentials
- Test all scenarios
Production:
- Live environment
- Real money processed
- Use production credentials
- Customer transactions
Common Use Cases¶
Use Case 1: Initial Payment Gateway Setup¶
Goal: Configure Stripe for first time
Steps:
- Create Stripe account at stripe.com
- Complete business verification
- Navigate to API keys in Stripe dashboard
- Copy test publishable and secret keys
- In admin: Open Payment Settings
- Select Stripe tab
- Toggle Test Mode ON
- Paste test keys
- Click "Test Connection"
- Verify success message
- Process test transaction
- When ready to go live:
- Copy live keys from Stripe
- Toggle Test Mode OFF
- Paste live keys
- Test again
- Save
Use Case 2: Switch Payment Gateways¶
Goal: Change from Authorize.net to Stripe
Steps:
- Set up new gateway (Stripe) alongside existing
- Test new gateway thoroughly in test mode
- Notify customers of change (if needed)
- Choose cutoff date for migration
- Switch primary gateway to Stripe
- Update customer payment methods if needed
- Keep old gateway active for refunds/disputes
- Monitor transactions closely for first week
- Disable old gateway after transition period
Use Case 3: Troubleshoot Failed Payments¶
Goal: Diagnose why payments are failing
Steps:
- Check gateway connection status
- Click "Test Connection" button
- If fails:
- Verify API credentials are correct
- Check if keys expired or were regenerated
- Verify test/live mode matches keys
- Check gateway account is in good standing
- Review gateway dashboard for:
- Account holds
- Verification issues
- Service outages
- Check webhook configuration
- Test with different payment method
- Review error logs
- Contact gateway support if needed
Use Case 4: Enable New Payment Method¶
Goal: Start accepting PayPal
Steps:
- Set up PayPal business account
- Get PayPal API credentials
- In Payment Settings: navigate to PayPal tab
- Enter client ID and secret
- Configure PayPal settings
- Test in sandbox mode
- Process test transactions
- Switch to live mode
- Update checkout page to show PayPal option
- Monitor transactions
Use Case 5: Update Expired API Keys¶
Goal: Replace expiring credentials
Steps:
- Log in to payment gateway dashboard
- Generate new API keys
- Copy new keys
- In admin: Open Payment Settings
- Replace old keys with new ones
- Click "Test Connection"
- Verify success
- Save settings
- Monitor next few transactions
- Delete old keys from gateway dashboard
Security Best Practices¶
Credential Management¶
- Never share API keys publicly
- Rotate keys annually or after staff changes
- Use different keys for test and production
- Restrict API key permissions to minimum needed
- Monitor for unauthorized access to gateway dashboard
PCI Compliance¶
- Never store credit card numbers in your database
- Use payment gateway hosted forms for card collection
- Implement SSL/HTTPS on all pages
- Regular security audits
- Limit staff access to payment settings
Monitoring¶
- Check gateway dashboard daily for issues
- Set up email alerts for failed payments
- Monitor transaction success rates
- Review fraud detection settings
- Track refund and chargeback rates
Troubleshooting¶
Connection Test Fails¶
Check:
- API credentials are correct (copy/paste carefully)
- No extra spaces in credential fields
- Test/Live mode matches credential type
- Gateway account is active and verified
- Internet connectivity
- Firewall not blocking API calls
Payments Failing But Connection OK¶
Investigate:
- Check customer card details are valid
- Review decline codes in gateway dashboard
- Verify customer has sufficient funds
- Check if fraud filters too strict
- Verify billing address matches card
- Test with different card
Webhooks Not Working¶
Check:
- Webhook URL is correct and accessible
- Webhook secret matches gateway
- SSL certificate is valid
- Server can receive POST requests
- Events are selected in gateway
- Review webhook logs in gateway dashboard
Double Charging Customers¶
Immediate Action:
- Stop payment processing
- Investigate cause
- Issue refunds for duplicates
- Fix underlying issue
- Notify affected customers
- Document incident
Prevention:
- Implement idempotency keys
- Add duplicate transaction checks
- Disable double-click on submit buttons
Related Pages¶
- Billing Payments - View payment transaction history
- Customer Detail - Customer payment methods
- Orders - Orders requiring payment
- System Settings - General system configuration
Quick Reference Card¶
| Task | Action/Location |
|---|---|
| Add Stripe keys | Stripe tab → Enter keys → Save |
| Test connection | Click "Test Connection" button |
| Switch to live mode | Toggle Live Mode → Update keys → Test → Save |
| Enable PayPal | PayPal tab → Enter credentials → Configure |
| View connection status | Check status indicator at top |
| Troubleshoot failures | Test connection → Check gateway dashboard |
| Update webhook | Enter webhook URL → Copy secret → Save |
| Change primary gateway | Select gateway → Set as primary → Save |
FAQs¶
What's the difference between test mode and live mode?¶
Test mode uses test API keys and doesn't process real money. Live mode uses production keys and processes actual payments. Always test in test mode first.
Can I use multiple payment gateways?¶
Yes, you can configure multiple gateways and offer customers choice at checkout, or use different gateways for different purposes.
How often should I rotate API keys?¶
Annually, or immediately after a staff member with access leaves, or if you suspect keys may have been compromised.
What happens if my gateway credentials expire?¶
All payments will fail. You must update with new credentials immediately. Monitor expiration dates and update proactively.
Can customers see my API keys?¶
Publishable keys are visible (safe). Secret keys should never be exposed to customers or in client-side code.
What if I accidentally save wrong API keys?¶
Fix immediately. Enter correct keys, test connection, save. Your site won't process payments until corrected.
Should I tell customers when switching gateways?¶
Usually not necessary unless it affects their payment methods or requires them to re-enter card information.
How do I know if my payment gateway is down?¶
Check status indicator, test connection, review gateway status page, check their Twitter for outage announcements.
Can I process refunds from this page?¶
No, refunds are processed from Billing Payments or Customer Detail pages. This page is for gateway configuration only.
What's a webhook and why do I need it?¶
Webhooks notify your system of payment events (success, failure, refund). Essential for automated payment processing and customer notifications.
End of Documentation
For additional help, contact your system administrator or Kiva Logic support.