Billing Settings
Configure payment gateways and billing options.
Overview
Billing settings allow you to:
- Connect payment gateways
- Configure invoice settings
- Set up tax options
- Manage payment methods
Payment Gateways
Zettabit supports popular Bangladesh payment gateways:
bKash
Mobile financial service integration.
Setup Steps
- Go to Settings > Billing
- Find bKash section
- Enter credentials:
- App Key - From bKash merchant portal
- App Secret - From bKash merchant portal
- Username - Merchant username
- Password - Merchant password
- Select environment:
- Sandbox - For testing
- Production - For real transactions
- Click Test Connection
- Save settings
bKash Configuration
| Field | Description |
|---|---|
| App Key | Application identifier |
| App Secret | Secret key for authentication |
| Username | Merchant account username |
| Password | Merchant account password |
| Callback URL | Automatically set by Zettabit |
SSLCommerz
Online payment gateway for cards and mobile banking.
Setup Steps
- Go to Settings > Billing
- Find SSLCommerz section
- Enter credentials:
- Store ID - From SSLCommerz panel
- Store Password - From SSLCommerz panel
- Select environment:
- Sandbox - For testing
- Production - For real transactions
- Click Test Connection
- Save settings
SSLCommerz Configuration
| Field | Description |
|---|---|
| Store ID | Your merchant store identifier |
| Store Password | Secret key for API calls |
| Callback URLs | Automatically configured |
Testing Payment Gateways
Before going live:
- Set environment to Sandbox
- Save settings
- Create a test subscription
- Process a test payment
- Verify transaction appears
Test Credentials
Use gateway-provided test credentials:
- bKash sandbox accounts
- SSLCommerz test cards
Invoice Settings
Invoice Prefix
Add a prefix to invoice numbers:
- Example: “INV-” produces INV-0001, INV-0002
Invoice Starting Number
Set the starting invoice number:
- Useful when migrating from another system
Invoice Footer
Custom text at the bottom of invoices:
- Payment terms
- Contact information
- Legal notices
Tax Configuration
Enable Tax
Toggle tax calculation on/off.
Tax Rate
Percentage added to package prices:
- Example: 15% VAT
Tax Name
Label shown on invoices:
- Example: “VAT” or “GST”
Tax Included in Price
Choose whether package prices include tax:
- Yes - ৳1000 includes tax
- No - ৳1000 + tax = ৳1150 (at 15%)
Payment Methods
Control which payment options are available:
- ☑ bKash
- ☑ SSLCommerz (Cards)
- ☑ SSLCommerz (Mobile Banking)
- ☐ Cash (Manual)
Automatic Billing
Enable Auto-Charge
Automatically charge renewals:
- Requires stored payment method
- Sends notification before charging
Retry Failed Payments
Configure retry attempts for failed payments:
- Number of retries
- Days between retries
- Final action (suspend/notify)
Saving Changes
- Make your changes
- Click Save
- Test with a small transaction
Security Considerations
- Store API credentials securely (Zettabit encrypts them)
- Never share credentials
- Use sandbox for testing
- Monitor for suspicious transactions
Troubleshooting
”Payment gateway connection failed”
Check:
- Credentials are correct
- Account is active with gateway
- Environment matches (sandbox vs production)
“Transaction declined”
Verify:
- Customer has sufficient balance/credit
- Card is not expired
- Gateway account is in good standing
”Invoice tax incorrect”
Review:
- Tax rate setting
- Tax included/excluded setting
- Per-package tax overrides
Required Permissions
To modify billing settings:
settings:updatepermission- Admin role recommended for payment gateway configuration
Last updated on