Taking payments
Connect SSLCOMMERZ to your app
What is SSLCOMMERZ?
SSLCOMMERZ is a payment service in Bangladesh that lets a business take online payments by card, mobile wallets such as bKash and Nagad, and other methods.
- What it costs
- There is a separate test account for trying payments without real money. For real payments, the pricing page shows a Basic plan at ৳25,500 (non-refundable), mentions a one-time setup fee, and charges 2.5% per successful payment (3.5% for AMEX cards). Check the pricing page before you sign up.
- Time needed
- A test account is a six-part online form that you fill in yourself. A live account needs business documents and SSLCOMMERZ’s approval; the pages we checked do not say how long that takes.
- If you skip it
- Your app still works. Only taking payments through SSLCOMMERZ stays off until you connect it.
What you can build with SSLCOMMERZ
How to get it, step by step
Get a test store
- To try it with pretend money, open developer.sslcommerz.com/registration/ and press Create Sandbox Account. Sandbox means a practice account.
- Fill in Application Domain / URL (your app’s web address) and Company / Business Name, then press Next.
- Complete the remaining parts: Business Location, Contact Intelligence, Phone Verification, Security and Review & Confirm. Keep your phone and email handy.
Go live when ready
- For real money, open join.sslcommerz.com (the pricing page calls this Register as a Merchant). You can also use the form on developer.sslcommerz.com/registration/: choose I want to get live environment for payment and press Send Now.
- Prepare the documents listed for your business type at sslcommerz.com/onboarding-requirements/, such as your trade license, TIN certificate, bank details and the signed Merchant Enrollment Form.
Copy your two values
- Get your Store ID and paste it into the Store ID box. For a live store, ask your SSLCOMMERZ manager for it. If you cannot find your test one, contact SSLCOMMERZ support.
- Get the Store Password for that same store and paste it into the Store password (API) box. Do not mix a test value with a live one.
Which value goes in which box
- Store ID
SSLCOMMERZ_STORE_IDNot secret - The Store ID for your store: from your test account (button Create Sandbox Account on developer.sslcommerz.com/registration/), or the live one from SSLCOMMERZ’s managers. Test and live IDs are different.
- Store password (API)
SSLCOMMERZ_STORE_PASSWORDKeep private - The Store Password that belongs to the same Store ID, test or live. For a live store, SSLCOMMERZ says to collect it through its managers. Keep it private.
Watch out for
- SSLCOMMERZ is built for businesses in Bangladesh: the documents it asks for are Bangladeshi, and payments in other currencies are converted to Bangladeshi taka (BDT).
- Test and live stores have separate Store IDs and passwords. Tell your app which kind you saved.
- Each payment must be between 10 and 500,000 BDT.
- SSLCOMMERZ can send your app a payment notice. To switch it on, add the address your app gives you in the Merchant Panel under Menu > My Store > IPN Settings.
- Refunds on the live system need the public internet address (IP) of the sending server to be registered with SSLCOMMERZ. Ask SSLCOMMERZ and BooDoo support before relying on refunds in your app.
- Keep the store password private, like any password.