Skip to main content
Zass Tech
Free audit
Web Development6 min read

WooCommerce Checkout for Bangladesh: Optional Email, COD and bKash Send Money

By Shakh Farid·November 18, 2026·0 views
#WooCommerce#Checkout#bKash#Cash on Delivery#Bangladesh#Conversion Rate

Short answer: For Bangladeshi shoppers, a WooCommerce checkout should ask for a phone number, not an email; offer Cash on Delivery; and if you take bKash Send Money, require both the sender's bKash number and the Transaction ID (TrxID) before the order is placed. On a stationery store I made email optional, kept the form short, and added server-side checks so a bKash order can't be submitted without a valid number and TrxID.

The problem with the default WooCommerce checkout in Bangladesh

WooCommerce's default checkout is designed for markets where everyone pays by card and has an email address they check. A lot of Bangladeshi shoppers:

  • don't want to type an email, or don't check it;
  • prefer to pay cash when the parcel arrives;
  • pay through bKash, often with Send Money to a personal number instead of a merchant gateway;
  • are on a phone, on mobile data, filling in the form with one thumb.

The shop owner's request was simple: don't force email, keep Cash on Delivery, and make sure every bKash order arrives with the details needed to find the payment. A required email field pushes people to type something fake just to get past it, and a bKash order without the sender number means a phone call before the order can be confirmed.

What I changed

1. Email became optional

WooCommerce marks the billing email as required. I changed that with the standard woocommerce_checkout_fields filter:

add_filter( 'woocommerce_checkout_fields', function ( $fields ) {
    if ( isset( $fields['billing']['billing_email'] ) ) {
        $fields['billing']['billing_email']['required'] = false;
        $fields['billing']['billing_email']['priority'] = 200; // move it to the end
    }
    return $fields;
} );

The field is still there, at the bottom, with a placeholder explaining that it's only for receiving an order confirmation. Customers who want the email can give it. Nobody is blocked by it.

Two things to check if you do this:

  • Guest checkout must be allowed, or WooCommerce will still need an email to create an account.
  • Order emails to the customer simply won't send when the field is empty. Your admin "new order" email still goes out normally.

2. Phone is the real identifier

Since the phone number is now the one reliable contact detail, it stays required and is used everywhere: for delivery calls, for SMS, and for order tracking (more on that in how to let customers track orders without logging in). The country is fixed to Bangladesh, so the form doesn't ask for it.

3. Cash on Delivery stays first

COD is WooCommerce's built-in "Cash on delivery" payment method. It stays at the top because it's what most first-time customers choose. Online payment builds trust later.

🎯
Zass Tech service
Google Ads Management

Full-funnel campaign management, from setup to scaling spend profitably.

→

4. bKash Send Money with required proof

The store doesn't use a bKash merchant account; customers send money to the shop's personal bKash number. A Bangladeshi payment gateway plugin adds a "bKash" option at checkout that shows the number and asks for two fields: the customer's bKash number and the TrxID from the payment SMS.

The plugin didn't enforce those fields strictly enough, so orders could arrive half-filled. I added a check on the server, which runs when the customer clicks Place order:

add_action( 'woocommerce_checkout_process', function () {
    if ( ! isset( $_POST['payment_method'] ) || 'woo_bkash' !== $_POST['payment_method'] ) {
        return; // only for bKash orders
    }
    $number = preg_replace( '/\D/', '', wp_unslash( $_POST['bkash_acc_no'] ?? '' ) );
    $trx_id = trim( wp_unslash( $_POST['bkash_trans_id'] ?? '' ) );

    if ( ! preg_match( '/^(?:88)?01\d{9}$/', $number ) ) {
        wc_add_notice( 'Please enter your bKash number (01XXXXXXXXX).', 'error' );
    }
    if ( ! preg_match( '/^[A-Za-z0-9]{6,}$/', $trx_id ) ) {
        wc_add_notice( 'Please enter the bKash Transaction ID (TrxID) from your payment message.', 'error' );
    }
}, 99 );

What this does:

  • It only runs when bKash is the chosen method, so COD customers never see these errors.
  • It strips spaces and dashes from the number, then accepts 01XXXXXXXXX with or without the 88 country code.
  • It checks the TrxID is at least six letters or digits, which catches empty fields and obvious typos.
  • If either check fails, WooCommerce shows the error and doesn't create the order.

The field names (bkash_acc_no, bkash_trans_id) come from the payment plugin. If you use a different plugin, check its field names in the page source first.

The check can't confirm that the money actually arrived. That still needs a look at the bKash account. But it guarantees every bKash order has the two details staff need to match it in seconds.

Small details that matter on mobile

  • Clear instructions at the payment step. The bKash option shows the number, the amount and "use Send Money, then enter the TrxID from your SMS." A personal bKash number receives Send Money, not merchant "Payment", so say it plainly.
  • Readable error messages. Each error says exactly what to fix, in the words the customer sees on their phone ("TrxID from your payment message"), not technical terms.
  • No duplicate errors. If WooCommerce or the plugin already shows the same message, the code above can be wrapped with wc_has_notice() so the customer doesn't see it twice.

Results

After the change, tested on the live checkout:

  • a bKash order can't be placed without a valid sender number and TrxID, so staff always have what they need to match the payment;
  • customers who don't use email aren't stopped by a required field;
  • the checkout form is shorter and easier on mobile;
  • COD orders are untouched by the bKash checks.

I didn't run a formal A/B test, so I won't quote a conversion percentage. The point of these changes is fewer blocked customers and less manual follow-up per order.

FAQ

Can I make the email field optional in WooCommerce?

Yes. Use the woocommerce_checkout_fields filter and set required to false for billing_email. Allow guest checkout as well. Customers without an email won't receive order emails, but the order still works.

How do I accept bKash Send Money in WooCommerce?

Use a Bangladeshi payment gateway plugin that supports manual bKash payments. It shows your bKash number at checkout and collects the customer's number and TrxID. Add server-side validation so the order can't be placed without both.

What is a bKash TrxID?

It's the transaction ID bKash sends in the confirmation SMS and shows in the app after a payment or Send Money. It's a short code of letters and numbers that lets the shop find the exact payment.

Should a Bangladeshi online shop offer Cash on Delivery?

For most small and mid-sized shops, yes. Many first-time buyers only order with COD. You can still encourage online payment for repeat customers or larger orders.


Based on a live checkout I set up for a Bangladeshi stationery e-commerce store. Need your checkout fitted to Bangladeshi buyers? See my web development service.

📊
Zass Tech service
GA4 & GTM Setup

Clean, accurate tracking infrastructure that reports numbers you can trust.

→

Found this useful?

Share it with someone who's fighting the same tracking headaches.

Shakh Farid

Written by

Shakh Farid

Founder, Zass Tech

More from Shakh →