Skip to Content
SettingsBilling Settings

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

  1. Go to Settings > Billing
  2. Find bKash section
  3. Enter credentials:
    • App Key - From bKash merchant portal
    • App Secret - From bKash merchant portal
    • Username - Merchant username
    • Password - Merchant password
  4. Select environment:
    • Sandbox - For testing
    • Production - For real transactions
  5. Click Test Connection
  6. Save settings

bKash Configuration

FieldDescription
App KeyApplication identifier
App SecretSecret key for authentication
UsernameMerchant account username
PasswordMerchant account password
Callback URLAutomatically set by Zettabit

SSLCommerz

Online payment gateway for cards and mobile banking.

Setup Steps

  1. Go to Settings > Billing
  2. Find SSLCommerz section
  3. Enter credentials:
    • Store ID - From SSLCommerz panel
    • Store Password - From SSLCommerz panel
  4. Select environment:
    • Sandbox - For testing
    • Production - For real transactions
  5. Click Test Connection
  6. Save settings

SSLCommerz Configuration

FieldDescription
Store IDYour merchant store identifier
Store PasswordSecret key for API calls
Callback URLsAutomatically configured

Testing Payment Gateways

Before going live:

  1. Set environment to Sandbox
  2. Save settings
  3. Create a test subscription
  4. Process a test payment
  5. 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

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

  1. Make your changes
  2. Click Save
  3. 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:update permission
  • Admin role recommended for payment gateway configuration
Last updated on