Appearance
Payment Gateway Settings
Overview
Payment Gateway Settings allow you to configure online payment methods for your subscribers. ZAL ULTRA supports multiple payment gateways from different countries, enabling subscribers to pay for internet packages directly through the subscriber portal using credit cards, debit cards, mobile wallets, and bank transfers.
WHY PAYMENT GATEWAYS?
Payment gateways enable:
- Automated Payments - Subscribers pay online 24/7
- Instant Activation - Packages activated immediately after payment
- Reduced Admin Work - No manual payment collection
- Better Cash Flow - Instant payment receipt
- Multiple Payment Options - Cards, mobile money, bank transfers
📋 Table of Contents
- Supported Payment Gateways
- bKash (Bangladesh)
- SSLCommerz (Bangladesh)
- Paystack (Africa)
- Razorpay (India)
- M-Pesa (Kenya)
- Easypaisa (Pakistan)
- Transaction Fees
- Testing vs Production
- Best Practices
Supported Payment Gateways
ZAL ULTRA supports 6 major payment gateways covering Bangladesh, India, Pakistan, and Africa:
| Gateway | Country | Payment Methods | Setup Difficulty |
|---|---|---|---|
| bKash | Bangladesh | Mobile wallet | Easy |
| SSLCommerz | Bangladesh | Cards, mobile wallets, banks | Medium |
| Paystack | Nigeria, Ghana, South Africa | Cards, bank transfers | Easy |
| Razorpay | India | Cards, UPI, wallets, netbanking | Medium |
| M-Pesa | Kenya, Tanzania | Mobile money | Medium |
| Easypaisa | Pakistan | Mobile wallet, cards | Easy |
bKash (Bangladesh)
What is bKash?
bKash is Bangladesh's leading mobile financial service, allowing users to send money, pay bills, and make purchases using their mobile phones. It's the most popular payment method in Bangladesh.
Features
- ✅ Mobile wallet payments
- ✅ Instant payment confirmation
- ✅ No credit card needed
- ✅ Available to 60+ million users
- ✅ Low transaction fees
Configuration Fields
Status
What It Does: Enables or disables bKash payments.
- Enable: Subscribers can pay via bKash
- Disable: bKash option hidden from payment page
Mode Status
What It Does: Switches between testing and live mode.
Sandbox (Test Mode):
- Use test credentials
- No real money charged
- For testing only
- Use test bKash accounts
Live (Production Mode):
- Use live credentials
- Real money transactions
- For actual business
Recommendation: Always test in Sandbox first!
bKash Number
What It Does: Your merchant bKash account number.
Format: 01XXXXXXXXX (11 digits)
Example: 01712345678
Where to Get:
- Register as bKash merchant
- Receive merchant account number
- Use this number here
App Key
What It Does: API key for authentication.
Where to Get:
- Login to bKash merchant portal
- Go to API Credentials
- Copy App Key
- Paste here
Security: Keep this secret!
App Secret
What It Does: Secret key for API authentication.
Where to Get:
- Same location as App Key
- In bKash merchant portal
- API Credentials section
Security: Never share this!
Username
What It Does: API username for bKash integration.
Where to Get:
- Provided by bKash
- In merchant portal
- API Credentials section
Password
What It Does: API password for bKash integration.
Where to Get:
- Provided by bKash
- In merchant portal
- API Credentials section
Security: Stored encrypted
Transaction Fee
What It Does: Additional fee charged to subscribers for using bKash.
Examples:
- Fixed: 10 BDT per transaction
- Percentage: 2% of payment amount
Use Cases:
- Cover gateway charges
- Service fee
- Or set to 0 for no extra charge
Transaction Fee Type
What It Does: How the transaction fee is calculated.
Options:
- Fixed: Same amount every time (e.g., 10 BDT)
- Percentage: Based on payment amount (e.g., 2%)
How to Setup bKash
Step 1: Register as Merchant
- Visit bKash merchant website
- Fill application form
- Submit business documents
- Wait for approval (3-7 days)
Step 2: Get API Credentials
- Login to merchant portal
- Navigate to API section
- Copy all credentials:
- App Key
- App Secret
- Username
- Password
Step 3: Configure in ZAL ULTRA
- Go to Settings → Payment Gateways
- Find bKash section
- Enter all credentials
- Set Mode to Sandbox
- Test payment
- Switch to Live mode
Step 4: Test Payment
- Use test bKash account
- Make test payment
- Verify payment received
- Check package activated
bKash Payment Flow
- Subscriber selects package
- Clicks "Pay with bKash"
- Enters bKash number
- Receives OTP on phone
- Enters OTP to confirm
- Payment processed
- Package activated instantly
SSLCommerz (Bangladesh)
What is SSLCommerz?
SSLCommerz is Bangladesh's largest payment gateway, supporting credit cards, debit cards, mobile wallets (bKash, Rocket, Nagad), and internet banking.
Features
- ✅ Multiple payment methods
- ✅ Credit/debit cards
- ✅ Mobile wallets (bKash, Rocket, Nagad)
- ✅ Internet banking
- ✅ International cards accepted
- ✅ Comprehensive payment solution
Configuration Fields
Status
What It Does: Enables or disables SSLCommerz payments.
Mode Status
What It Does: Switches between Sandbox (test) and Live mode.
Sandbox: Use for testing Live: Use for production
Store ID
What It Does: Your SSLCommerz merchant store ID.
Where to Get:
- Register at SSLCommerz
- Create store
- Receive Store ID
- Use here
Example: myisp12345
Store Password
What It Does: Password for your SSLCommerz store.
Where to Get:
- Provided during registration
- Or reset in merchant portal
Security: Keep confidential
Transaction Fee & Type
Same as bKash - can charge fixed or percentage fee.
How to Setup SSLCommerz
Step 1: Register
- Visit sslcommerz.com
- Click "Merchant Registration"
- Fill business details
- Submit documents
- Wait for approval
Step 2: Get Credentials
- Login to merchant panel
- Go to Settings → API
- Copy Store ID
- Copy Store Password
- Note Sandbox vs Live credentials
Step 3: Configure in ZAL ULTRA
- Enter Store ID
- Enter Store Password
- Set Mode to Sandbox
- Test payment
- Switch to Live
SSLCommerz Payment Methods
When subscribers choose SSLCommerz, they can pay via:
- Credit Cards: Visa, Mastercard, Amex
- Debit Cards: Local and international
- bKash: Mobile wallet
- Rocket: Mobile wallet
- Nagad: Mobile wallet
- Internet Banking: All major banks
- Mobile Banking: Bank mobile apps
Paystack (Africa)
What is Paystack?
Paystack is Africa's leading payment gateway, popular in Nigeria, Ghana, and South Africa. It supports cards, bank transfers, and mobile money.
Features
- ✅ Credit/debit cards
- ✅ Bank transfers
- ✅ Mobile money
- ✅ Used across Africa
- ✅ Modern API
- ✅ Excellent documentation
Configuration Fields
Status
Enables/disables Paystack payments.
Mode Status
Sandbox: Testing mode Live: Production mode
Secret Key
What It Does: API secret key for authentication.
Where to Get:
- Register at paystack.com
- Login to dashboard
- Go to Settings → API Keys
- Copy Secret Key (starts with
sk_)
Important: Use sk_test_ for Sandbox, sk_live_ for Live
Transaction Fee & Type
Charge additional fee for Paystack payments.
How to Setup Paystack
Step 1: Create Account
- Visit paystack.com
- Sign up for free
- Verify email
- Complete business profile
Step 2: Get API Keys
- Go to Settings → API Keys & Webhooks
- Copy Test Secret Key (for testing)
- Copy Live Secret Key (for production)
Step 3: Activate Live Mode
- Submit business documents
- Wait for approval
- Receive live API keys
Step 4: Configure in ZAL ULTRA
- Enter Secret Key
- Start with Test key
- Test payments
- Switch to Live key
Paystack Payment Methods
- Cards: Visa, Mastercard, Verve
- Bank Transfer: Direct bank transfer
- USSD: Mobile banking codes
- Mobile Money: MTN, Airtel, Vodafone
- QR Code: Scan to pay
Razorpay (India)
What is Razorpay?
Razorpay is India's leading payment gateway, supporting UPI, cards, wallets, and netbanking. It's the most comprehensive payment solution for Indian businesses.
Features
- ✅ UPI payments (Google Pay, PhonePe, Paytm)
- ✅ Credit/debit cards
- ✅ Wallets (Paytm, PhonePe, etc.)
- ✅ Netbanking (all banks)
- ✅ EMI options
- ✅ International cards
Configuration Fields
Status
Enables/disables Razorpay payments.
Mode Status
Test Mode: For testing Live Mode: For production
API Key
What It Does: Public API key for Razorpay.
Where to Get:
- Register at razorpay.com
- Login to dashboard
- Go to Settings → API Keys
- Copy Key ID
Format: rzp_test_ or rzp_live_
API Secret
What It Does: Secret key for authentication.
Where to Get:
- Same location as API Key
- Keep this confidential
Transaction Fee & Type
Additional fee for Razorpay payments.
How to Setup Razorpay
Step 1: Register
- Visit razorpay.com
- Sign up with business email
- Verify email and phone
- Complete KYC
Step 2: Get API Keys
- Go to Settings → API Keys
- Generate Test Keys (for testing)
- Generate Live Keys (after KYC approval)
Step 3: Complete KYC
- Submit business documents
- Bank account details
- Wait for approval (1-2 days)
Step 4: Configure in ZAL ULTRA
- Enter API Key
- Enter API Secret
- Test with Test keys
- Switch to Live keys
Razorpay Payment Methods
- UPI: Google Pay, PhonePe, Paytm, BHIM
- Cards: Visa, Mastercard, Rupay, Amex
- Wallets: Paytm, PhonePe, Mobikwik, Freecharge
- Netbanking: All major banks
- EMI: Credit card EMI options
M-Pesa (Kenya)
What is M-Pesa?
M-Pesa is Kenya's most popular mobile money service, used by millions for payments, transfers, and bills. Essential for Kenyan ISPs.
Features
- ✅ Mobile money payments
- ✅ No bank account needed
- ✅ Instant confirmation
- ✅ Used by 30+ million Kenyans
- ✅ Simple and reliable
Configuration Fields
Status
Enables/disables M-Pesa payments.
Mode Status
Sandbox: Testing with fake money Live: Real transactions
Consumer Key
What It Does: API consumer key from Safaricom.
Where to Get:
- Register at developer.safaricom.co.ke
- Create app
- Copy Consumer Key
Consumer Secret
What It Does: API consumer secret.
Where to Get:
- Same location as Consumer Key
- Keep confidential
Short Code
What It Does: Your M-Pesa business short code.
Format: 6-digit number
Example: 174379
Where to Get:
- Apply for Paybill or Till Number
- Receive from Safaricom
- Use here
Pass Key
What It Does: Security pass key for Lipa Na M-Pesa.
Where to Get:
- Provided by Safaricom
- In developer portal
- After short code approval
Transaction Fee & Type
Additional fee for M-Pesa payments.
How to Setup M-Pesa
Step 1: Register Business
- Visit Safaricom M-Pesa office
- Apply for Paybill or Till Number
- Submit business documents
- Pay registration fee
- Receive short code
Step 2: Register as Developer
- Visit developer.safaricom.co.ke
- Create account
- Create app
- Get Consumer Key & Secret
Step 3: Get Pass Key
- Login to developer portal
- Go to your app
- Find Pass Key
- Copy for use
Step 4: Configure in ZAL ULTRA
- Enter all credentials
- Test in Sandbox
- Switch to Live
M-Pesa Payment Flow
- Subscriber selects package
- Clicks "Pay with M-Pesa"
- Enters M-Pesa phone number
- Receives STK Push on phone
- Enters M-Pesa PIN
- Payment confirmed
- Package activated
Easypaisa (Pakistan)
What is Easypaisa?
Easypaisa is Pakistan's largest mobile wallet and payment service, used by millions for mobile money, bill payments, and online shopping.
Features
- ✅ Mobile wallet payments
- ✅ No bank account needed
- ✅ Instant payments
- ✅ Widely used in Pakistan
- ✅ Simple integration
Configuration Fields
Status
Enables/disables Easypaisa payments.
Mode Status
Sandbox: Testing mode Live: Production mode
Store ID
What It Does: Your Easypaisa merchant store ID.
Where to Get:
- Register as Easypaisa merchant
- Receive Store ID
- Use here
Username
What It Does: API username for Easypaisa.
Where to Get:
- Provided during merchant registration
- In merchant portal
Password
What It Does: API password.
Where to Get:
- Provided during registration
- Can reset in portal
Transaction Fee & Type
Additional fee for Easypaisa payments.
How to Setup Easypaisa
Step 1: Merchant Registration
- Visit Easypaisa merchant website
- Fill registration form
- Submit business documents
- Wait for approval
Step 2: Get Credentials
- Login to merchant portal
- Find API credentials
- Copy Store ID, Username, Password
Step 3: Configure in ZAL ULTRA
- Enter all credentials
- Test in Sandbox
- Switch to Live
Transaction Fees
What Are Transaction Fees?
Transaction fees are additional charges you can add to online payments to cover:
- Gateway charges (charged by payment provider)
- Service fees
- Processing costs
Fee Types
Fixed Fee
What It Is: Same amount charged every time.
Examples:
- 10 BDT per transaction
- 50 PKR per transaction
- 20 KES per transaction
Best For:
- Small payments
- Predictable costs
- Simple pricing
Percentage Fee
What It Is: Fee based on payment amount.
Examples:
- 2% of payment amount
- 2.5% of transaction
- 3% processing fee
Best For:
- Large payments
- Variable amounts
- Covering percentage-based gateway charges
Fee Calculation Examples
Fixed Fee Example:
- Package Price: 1000 BDT
- Transaction Fee: 20 BDT (fixed)
- Total Charged: 1020 BDT
Percentage Fee Example:
- Package Price: 1000 BDT
- Transaction Fee: 2% (percentage)
- Total Charged: 1020 BDT (1000 + 20)
Should You Charge Transaction Fees?
Charge Fees When:
- ✅ Gateway charges are high
- ✅ Need to cover costs
- ✅ Industry standard in your area
- ✅ Subscribers understand
Don't Charge Fees When:
- ❌ Want to encourage online payments
- ❌ Competitors don't charge
- ❌ Gateway fees are low
- ❌ Absorbing cost as business expense
Testing vs Production
Sandbox (Test Mode)
What It Is: Testing environment with fake money.
Features:
- ✅ No real money charged
- ✅ Test all payment flows
- ✅ Use test credentials
- ✅ Use test accounts
- ✅ Safe to experiment
When to Use:
- Initial setup
- Testing integration
- Training staff
- Troubleshooting
Live (Production Mode)
What It Is: Real environment with real money.
Features:
- ✅ Real transactions
- ✅ Real money charged
- ✅ Use live credentials
- ✅ Actual payments received
When to Use:
- After successful testing
- For actual business
- When ready to accept payments
Testing Checklist
Before going live, test:
- [ ] Payment page loads correctly
- [ ] All payment methods visible
- [ ] Can select package
- [ ] Payment form works
- [ ] OTP/PIN verification works
- [ ] Payment confirmation received
- [ ] Package activated automatically
- [ ] Receipt generated
- [ ] Email/SMS notification sent
- [ ] Transaction recorded in system
Best Practices
Security
- ✅ Never share API credentials
- ✅ Use HTTPS/SSL (required for payments)
- ✅ Keep credentials encrypted
- ✅ Regularly change passwords
- ✅ Monitor transactions for fraud
- ✅ Enable webhook notifications
- ✅ Test in Sandbox first
Multiple Gateways
Why Use Multiple?
- ✅ More payment options for subscribers
- ✅ Backup if one gateway is down
- ✅ Different methods for different users
- ✅ Better conversion rates
Recommended Combinations:
Bangladesh:
- bKash (mobile wallet)
- SSLCommerz (cards + wallets)
India:
- Razorpay (UPI + cards + wallets)
Pakistan:
- Easypaisa (mobile wallet)
- SSLCommerz (cards)
Kenya:
- M-Pesa (mobile money)
- Paystack (cards)
Nigeria:
- Paystack (cards + bank transfer)
Transaction Fee Strategy
Option 1: No Extra Fee
- Absorb gateway costs
- Encourage online payments
- Competitive advantage
Option 2: Cover Exact Costs
- Charge what gateway charges you
- Break even on fees
- Transparent pricing
Option 3: Add Service Fee
- Charge more than gateway fee
- Additional revenue
- Cover processing costs
Customer Communication
Be Transparent:
- ✅ Show total amount before payment
- ✅ Explain transaction fees clearly
- ✅ Display all charges upfront
- ✅ Provide receipt after payment
- ✅ Send confirmation SMS/email
Payment Page Should Show:
- Package name and price
- Transaction fee (if any)
- Total amount to pay
- Available payment methods
- Secure payment badge
Troubleshooting
Payment Failed
Common Causes:
- ⚠️ Insufficient balance in wallet/account
- ⚠️ Wrong PIN/OTP entered
- ⚠️ Gateway is down
- ⚠️ Network timeout
- ⚠️ Invalid credentials in settings
Solutions:
- ✅ Ask subscriber to check balance
- ✅ Verify gateway status
- ✅ Check credentials are correct
- ✅ Check Mode (Sandbox vs Live)
- ✅ Review gateway logs
Gateway Not Showing
Check These:
- ✅ Gateway Status is enabled
- ✅ Credentials entered correctly
- ✅ Mode set correctly (Sandbox/Live)
- ✅ SSL certificate installed
- ✅ No browser errors
Payment Received But Package Not Activated
Possible Reasons:
- ⚠️ Webhook not configured
- ⚠️ Callback URL incorrect
- ⚠️ Package out of stock
- ⚠️ Subscriber account issue
Solutions:
- ✅ Configure webhooks in gateway portal
- ✅ Verify callback URL
- ✅ Check package availability
- ✅ Manually activate package
- ✅ Contact gateway support
Summary Table
| Gateway | Country | Best For | Setup Difficulty | Transaction Fee | Popular Methods |
|---|---|---|---|---|---|
| bKash | Bangladesh | Mobile wallet users | Easy | 1.5-2% | Mobile wallet |
| SSLCommerz | Bangladesh | All payment types | Medium | 2-3% | Cards, wallets, banks |
| Paystack | Africa | Cards & transfers | Easy | 1.5-2% | Cards, bank transfer |
| Razorpay | India | UPI & cards | Medium | 2% | UPI, cards, wallets |
| M-Pesa | Kenya | Mobile money | Medium | 1-2% | Mobile money |
| Easypaisa | Pakistan | Mobile wallet | Easy | 1.5-2% | Mobile wallet |
Related Documentation
- General Settings - Company information
- Software Settings - System configuration
- Subscriber Settings - Subscriber portal settings
- Email Settings - Payment receipt emails
- SMS Settings - Payment confirmation SMS
