Case study · Checkout and payments · Conversion · 2021 to 2023
bSecure
bSecure is a one-click checkout and payment layer for online stores in Pakistan. Shoppers were dropping out before they paid, and the checkout asked them to get through six screens to place one order. I treated it as a conversion problem rather than a redesign: watch where people struggle, find where the funnel leaks, test a fix against the old journey, and roll out what works.
Before: one order, six screens Same order, two journeys
Every screen is another Confirm, another load and another chance to leave before the order is placed.
After: one page
Overview
What bSecure is and what I worked on
bSecure sits between an online store and the ways a shopper can pay. A merchant on Shopify, WooCommerce, WordPress, Magento or a custom-built site adds bSecure, and their shoppers get one checkout that accepts cards, mobile wallets, bank transfers and cash on delivery. Returning shoppers are recognised by their phone number, so their details are already filled in at the next store.
That promise only holds if the checkout converts. My work covered the whole product, from the gateway and merchant tools to fraud controls, but the thread through all of it was conversion: finding where shoppers gave up, and removing the reason.
What I owned
- Product management for checkout and payment gateway features, and the checkout roadmap with engineering.
- Checkout conversion: behaviour analysis, funnel analysis, hypotheses, design direction and the A/B test.
- Main point of contact for payment gateway partners.
How I worked
- BRDs, PRDs and user stories for engineering, with UAT and release plans for each change.
- Hotjar recordings and Metabase funnels to find friction, Figma to explore and specify the fix.
- Worked with engineering, design, operations, business development and marketing.
The approach in one sentenceFind the step where shoppers leave checkout and the reason they leave, then fix that and test it against the old version.
The problem
Why shoppers were leaving checkout
Merchants installed bSecure to sell more, so every abandoned checkout was a lost order for them and lost revenue for us. Three problems made abandonment worse.
- 01
Too many steps
Checkout was spread across six screens. Each one asked for one thing, then asked the shopper to confirm and wait for the next.
- 02
Payment options varied
Which methods a shopper saw depended on the merchant and the gateway behind it, so the payment step was never quite the same twice.
- 03
Fraud rules blocked real buyers
Blanket rules stopped suspicious orders, but also stopped too many genuine customers who had done nothing wrong.
Pakistan's e-commerce runs heavily on cash on delivery, so a checkout also has to protect merchants from orders that are refused at the door. That shaped every decision below.
How I found the friction
How I found where shoppers dropped off
Conversion work fails when it starts with a redesign. I started with behaviour instead, using three sources that each answer a different question, then turned what they agreed on into a design. Select a step.
- Input
- Output
- The call
- Use the sources together. Recordings alone produce a list of annoyances, funnels alone produce a number without a cause, and calls alone produce opinions. A change only went into design when they pointed to the same step.
- Trade-off
- Slower than redesigning on instinct. In exchange, every change had a reason the team could check, and a step whose numbers should move.
What changed
What we changed in the checkout
These are the changes in the final design, taken from the Figma file and its annotated "UI/UX changes" page. Each row reads from the friction, to the change, to why it should help.
Six screens to one order
Phone, details, address, shipping, payment, voucher and summary on a single page with one Confirm Order.
Fewer loads and fewer moments to drop off. The shopper can see and edit everything in one place before confirming.
Typing the same details again
Returning shoppers are recognised by phone. The verified number shows in green, saved name and email are locked in grey, and saved addresses are one tap away.
The most loyal shoppers, who convert best, get the shortest path.
Wrong addresses from GPS
If a GPS-filled address contains a plus code, a tooltip asks the shopper to double-check it, and a message stays until the address is fixed.
Failed deliveries hurt merchants as much as abandoned carts. A check at checkout is cheaper than a failed delivery.
COD needs verifying
Cash on delivery is verified with an OTP right inside the payment section, with a timer, instead of on another screen.
Merchants get a verified order without the shopper leaving the page.
Doubt at the payment step
A line under the card form names the gateway processing the payment, such as PayFast, Bank Alfalah or HBL, and notes that bSecure is PCI DSS certified.
An unfamiliar store borrows the trust of a bank the shopper already knows.
Small things that cause doubt
Consistent field styles, clear valid and invalid voucher states, discounts shown in the summary, and an Urdu toggle in the header.
Fewer moments where the shopper is unsure if something worked.
Changes as designed in the final Figma file. Individual changes were not measured separately; the result was measured for the single-page checkout as a whole.
The A/B test
How we A/B tested the new checkout
A checkout change touches every order of every merchant, so it went out as an experiment first. The existing multi-step journey and the new single-page checkout ran side by side, and the numbers decided which one stayed.
Two journeys, live at the same time
Variant A: the existing journey. Six screens, each with its own Confirm or Back.
- Saved details prefilled
- COD verified inline
- Gateway named at payment
- One Confirm Order
Variant B: the single-page checkout. The same information on one screen, with one confirm.
How the test ran, from baseline to decision
- 01
Set the baseline
MetabaseHotjar
Before changing anything, I built the checkout funnel in Metabase for the existing journey: how many shoppers started checkout, how many reached each screen, and how many placed the order. Hotjar recordings of the same journey showed what was happening at the screens where the funnel dropped.
- 02
Hear it from customers
Customer calls
Numbers show where people leave, not always why. Calls with customers filled that gap, in their own words: what felt slow, what was confusing, and what made them hesitate before paying. Their answers were checked against what the recordings showed.
- 03
Define the variant and the success measure
FigmaRequirements
The findings became one hypothesis: putting checkout on a single page would reduce abandonment. I specified variant B with design and wrote the requirements for engineering. Cart abandonment and checkout completion were the measures, compared against the baseline from step 01.
- 04
Run both journeys live
EngineeringMerchant portal
Engineering shipped variant B alongside the existing journey. The portal let each store run one-page or inline checkout, and an admin setting controlled the default for new stores, so both versions took real orders at the same time.
- 05
Review the numbers
MetabaseHotjarCustomer calls
I tracked both versions side by side in Metabase dashboards: checkouts started, orders placed, and drop-off at each step. Recordings of the new page were watched for any new friction it introduced, and customer feedback was used to explain movements in the numbers rather than guess at them.
- 06
Decide and roll out
Decision
The one-page checkout showed 30% lower cart abandonment than the multi-step journey, so it became the default. The inline option stayed available to merchants through the portal.
- The call
- Keep the old journey running and let the numbers decide. A rollout decision that affects every store should rest on real orders, backed by what shoppers actually did and said.
- Trade-off
- Running two checkouts meant maintaining both for a while and waiting for enough orders to compare. That cost was worth it compared with switching every merchant on instinct.
The checkout
The new one-page checkout
The final checkout rebuilt from Figma. Switch between a new and a returning shopper, and between payment methods, to see how the page changes. The notes explain the decision behind each numbered detail.
Personal details1
Shipping and billing address2
Kindly double-check the address before placing your order.
Shipping method3
Payment information4
An OTP has been sent to your number and email for verification.
Voucher details5
Confirm Order
- 1Recognise returning shoppers
A verified phone shows in green; saved name and email are locked in a lighter grey so it is clear they need no action.
- 2Catch bad addresses early
A GPS address with a plus code triggers a check. New shoppers see the fields to correct; returning shoppers pick a saved address.
- 3Delivery set by the merchant
Shipping options and prices come from the merchant portal. Same-day rider delivery through Bykea makes a precise location mandatory.
- 4Payment adapts in place
COD verifies with an OTP inline, and cards show which gateway processes them. The section changes in place, with no extra screens.
- 5Vouchers that explain themselves
Invalid and valid codes have distinct states, and every applied discount is itemised in the summary before the total.
- 6Total and language up front
The amount is visible in the header from the first second, next to an Urdu toggle.
Rebuilt in code from the final Figma screens, with their sample data. Hover a note or select a number.
Payments and integrations
Payment methods and platform integrations
Every merchant arrived with a different stack and different payment needs. The product problem was to absorb that variety behind one integration and one checkout, so neither the merchant nor the shopper had to deal with it.
Where merchants sell
- ShopifyPlugin
- WooCommercePlugin
- WordPressPlugin
- MagentoPlugin
- Custom-built sitesAPI integration
bSecure checkoutOne page, one shopper profile, every payment methodHow shoppers pay
- CardsProcessed by PayFast, Bank Alfalah MPGS or HBL
- Mobile walletsIncluding JazzCash and Easypaisa
- Bank transfer
- Cash on deliveryVerified by OTP
Platforms and payment methods supported by bSecure. Gateway and wallet names are from the payment options in the design file.
- The call
- Put the gateway behind the checkout, but name it in front of the shopper. Merchants integrate once with bSecure; shoppers see "processed and verified by" a bank they recognise.
- Trade-off
- Supporting several gateways means more partners to manage and more edge cases to test. As the main contact for gateway partners, I owned that complexity so merchants did not have to.
COD risk and fraud
Reducing fake COD orders and fraud
Conversion is only half the job. A checkout that lets through fake or refused cash-on-delivery orders costs merchants money on every failed delivery. The goal was to add protection exactly where the risk is, not in front of everyone.
Merchants flag COD orders by amount, so high-value orders get extra checks and small ones flow through.
An automated call confirms the order with the shopper before a delivery attempt is made.
Rule- and pattern-based alerts replaced blanket blocks, reviewed with operations. Reported: over 20% fewer false positives.
What a refused COD order costs a merchant
Rebuilt from the calculator on bSecure's COD Rule Engine page, which asked the same three questions. Inputs are sample values; the formula here is delivery cost × rejected orders × 365.
Merchant onboarding and portal
Merchant onboarding and the merchant portal
The fastest way to lose a merchant is a long setup before the first sale. The bSecure Portal let a new merchant start taking cash-on-delivery orders immediately, while account verification unlocked the other payment methods. A guided checklist took them through the rest.
Home
Welcome to bSecure! You can start with COD orders right away.
Please complete Account Verification to activate other payment methods.
- ✓Setup your StoreStore name, logo and detailsCheck DemoRead Knowledgebase
- ✓Setup PluginShopify, WooCommerce, WordPress or MagentoCheck DemoRead Knowledgebase
- ✓Activate Robo CallsConfirm COD orders before dispatchCheck DemoRead Knowledgebase
- ✓Manage Shipping MethodsOptions and prices shown at checkoutCheck DemoRead Knowledgebase
- ✓Create Manual OrdersPlace orders from the portalCheck DemoRead Knowledgebase
- ✓Create/Edit your CheckoutOne-page or inlineCheck DemoRead Knowledgebase
- ✓Account VerificationUnlocks cards, wallets and bank transferVerify
Orders › Manage Orders › Order #31395
Order #31395 Placed ✓
| Order Items | SKU | Quantity | Price | Discount | Sale Price |
|---|---|---|---|---|---|
| Apple AirPods Pro | 182091 | 1 | PKR 39,999 | PKR 0 | PKR 39,999 |
| Samsung Galaxy Z Flip | 134619 | 1 | PKR 244,999 | PKR 0 | PKR 244,999 |
Customer Information
Stores › Manage Stores
Manage Stores
Larger merchants asked to run several stores from one account. Supporting it meant reworking the codebase for multiple stores.
bSecure Apps
Manage Apps
Upload your own logo and favicon, customise the bSecure button on your website, and theme your checkout to match your brand.
Handle several e-commerce stores at once from one bSecure account.
Automated calls confirm cash-on-delivery orders before a delivery attempt is made.
Place orders manually through the portal, for orders that do not come through the checkout.
Global Settings › Manage Warehouses › Create Warehouse
Create Warehouse
Pickup location timings (optional)
| Working day | Shift start | Shift end | Break |
|---|---|---|---|
| Mon | 00:00 | 00:00 | 00:00 |
| Tue | 00:00 | 00:00 | 00:00 |
| Wed | 00:00 | 00:00 | 00:00 |
| Thu | 00:00 | 00:00 | 00:00 |
| Fri | 00:00 | 00:00 | 00:00 |
| Sat | 00:00 | 00:00 | — |
| Sun | 00:00 | 00:00 | — |
The merchant portal, rebuilt in code from the original screens with their sample data. Use the sidebar to move between screens; on Orders, a new-order alert slides in.
Behind it: the admin portal
Merchants saw their own portal. The bSecure team ran everything else from an admin portal: merchants and agencies, payment and shipment methods, pricing plans, invoices, reports and developer tools.
Invoices › Manage Invoices
Manage Invoices FilterActions ▾+ Create Invoice
| Order ID | Customer Name | Customer Phone | Grand Total | Invoice Date | Due Date | Fine | Status | Download |
|---|---|---|---|---|---|---|---|---|
| 18271 | Bilal Ashraf | (+92)333 4381387 | PKR 50,000 | 2021-06-30 | 25th June 2021 | Applied | Awaiting | |
| 72596 | Ali Bilal | (+92)345 7619210 | PKR 50,000 | 2021-06-30 | 25th June 2021 | None | Paid | |
| 63852 | Hamza Raheem | (+92)336 3512781 | PKR 50,000 | 2021-06-30 | 25th June 2021 | Applied | Awaiting | |
| 54379 | Faheem Ashraf | (+92)340 5547295 | PKR 50,000 | 2021-06-30 | 25th June 2021 | None | Expired | |
| 21106 | Mubashir Khan | (+92)345 0629162 | PKR 50,000 | 2021-06-30 | 25th June 2021 | Applied | Paid |
Wallet & Pricing › Pricing Plans
Pricing Plans
Plan names as shown in the admin portal. Plan prices are not shown here.
The admin portal, rebuilt from the original screens with their sample data.
- The call
- Let COD go live before verification. It is the method most shoppers use and carries no card risk, so a merchant can take real orders while paperwork is done.
- Trade-off
- Unverified merchants on the platform for a while. COD-only scope and the risk tools above kept that exposure small.
Outcome
Results and next steps
The single-page checkout replaced the multi-step journey after an A/B test. Alongside it, the gateway, COD risk tools and merchant portal made bSecure something a merchant could install and sell with on the same day.
| Claim | Evidence | Status |
|---|---|---|
| Single-page checkout replaced six screens | Final screens and old journey in the design file and portfolio | Verified |
| A/B tested against the old journey | Documented in my portfolio; one-page and inline option in the portal design | Verified |
| 30% lower cart abandonment | A/B test of the one-page and multi-step journeys | Reported |
| 20%+ fewer fraud false positives | My recordsMeasurement details not available | Reported |
| Hotjar, Metabase and customer calls used to find friction and review the test | My records | Reported |
| Contribution of each individual change | Not measured separately | Not available |
What I would do next
- Personalise payment for returning shoppers.Use checkout history to put each shopper's usual payment method first.
- Measure changes one at a time.The one-page test answered the big question. Smaller tests would show which details matter most.
- Give merchants their own funnel.The same funnel I used internally, in the portal, so merchants can see where their shoppers drop off.
The main thing I took from bSecure is a way of working on conversion: watch what shoppers do, find the step where most orders are lost, talk to customers about why, make a change for a clear reason, and test it against the old version before rolling it out.
