Skip to main content
Pakistan SMS & WhatsApp Gateway Pack — A build-to-order ERPNext app that wires local Pakistani SMS gateways and WhatsApp into — 1/1Illustrative preview

A build-to-order ERPNext app that wires local Pakistani SMS gateways and WhatsApp into your ERPNext instance for

masked-sender OTPs, transactional alerts, and bilingual campaigns.

ECOSIRE scopes, builds, installs, and supports it for you.

What is Pakistan SMS & WhatsApp Gateway Pack?

A build-to-order ERPNext app that wires local Pakistani SMS gateways and WhatsApp into your ERPNext instance for masked-sender OTPs, transactional alerts, and bilingual campaigns. ECOSIRE scopes, builds, installs, and supports it for you. Built to order by ECOSIRE for ERPNext v15, v16 — indicative price from $999.00 USD; request a quote for a scoped proposal.

Key Features

`PK Gateway Account` DocType holding per-gateway credentials, base URL, masked sender ID, and rate caps — swap providers via config, not code
Pluggable adapters for local Pakistani SMS aggregators (Jazz/Telenor-style HTTP APIs) behind a single whitelisted dispatch method
WhatsApp Cloud API adapter with template-message (HSM) support for approved transactional and promotional flows
Masked/branded sender ID enforcement per account so transactional traffic sends under your PTA-registered brand mask
`hooks.py` doc-event bindings (`on_submit`, `on_payment_authorized`, custom) that fire alerts on Sales Order, Delivery Note, Payment Entry, and your own DocTypes
Server-side OTP flow via whitelisted REST method with generation, hashing, expiry, and per-number attempt throttling
`Message Template` DocType with paired Urdu/English bodies, Jinja placeholders, category, and a separate WhatsApp variant
`Message Log` DocType recording provider message-id, status, cost, and delivery-receipt timestamp for full auditability
Scheduler event that polls provider delivery-receipt endpoints, reconciles status, and retries soft failures
Role profile + permission rules separating campaign senders from read-only `Message Log` viewers, with optional promo-send approval workflow
Client script on the template form with live bilingual preview and a one-click test-send before go-live
Rate limiting and per-account daily caps to protect gateway spend and stay within provider throughput limits
Bulk WhatsApp/SMS campaign runner backed by Frappe background jobs so large sends don't block the request worker
Compatible with Frappe/ERPNext v15 and v16, delivered as a standard installable Frappe app on your own bench

Built to order, done for you

No DIY setup — a working app, built, installed and supported by ECOSIRE.

  1. 1

    You order

    Start with a one-time build price. We scope it with you at kickoff.

  2. 2

    We build & install

    ECOSIRE builds, configures and installs it on your ERPNext.

  3. 3

    Go live + support

    You go live in about one working week, with two weeks of go-live support. Defects in the code we deliver are fixed free of charge.

Technical Specifications

ERPNext Compatibility
—
License
Licence confirmation required
Python Requirement
Python 3.10+
Database
MariaDB 10.6+

About this Product

Most Pakistani SMBs running ERPNext hit the same wall the moment they try to notify customers: ERPNext's stock SMS Settings assume a generic HTTP gateway with a fixed GET/POST shape, and its Notification DocType can fire an SMS or email but has no concept of a masked sender ID, a PTA-registered brand mask, per-gateway delivery receipts, or WhatsApp at all. So order confirmations, dispatch alerts, payment reminders, and login OTPs either go out from an unbranded long code that customers ignore, or don't go out from ERPNext at all — staff copy-paste numbers into a separate SMS panel and reconciliation dies. That is exactly the gap this build-to-order app closes.

ECOSIRE builds a proper Frappe app (ecosire_pk_messaging) installed into your own ERPNext bench, not a hosted middle-man. Inside it live real DocTypes: PK Gateway Account (credentials, base URL, masked sender ID, per-gateway rate caps), Message Template (Urdu/English bodies with Jinja placeholders, category, and a WhatsApp variant), and Message Log (every send with provider message-id, status, cost, and delivery-receipt timestamp). Adapters for the common local providers — the Telenor/Jazz aggregator style HTTP APIs plus WhatsApp Cloud API — are implemented behind one whitelisted dispatch method, so switching gateway is a config change on PK Gateway Account, not a code change. Because each account carries its own masked sender ID, your transactional traffic goes out under your registered brand mask while promotional traffic can route through a separate account to stay compliant.

Delivery is wired to ERPNext where the events actually happen. We hook hooks.py doc events — on_submit of Sales Order and Delivery Note, on_payment_authorized, and your custom triggers — through server scripts so an alert fires the instant a document changes state, rendering the right bilingual template automatically. OTP flows expose a whitelisted REST method (/api/method/ecosire_pk_messaging.api.send_otp) for your portal or mobile app, with generation, hashing, expiry, and attempt-throttling handled server-side. A scheduler event (scheduler_events in hooks.py) polls provider delivery-receipt endpoints and retries soft failures, while a client script on the Message Template form gives non-technical staff a live preview and test-send button. Everything respects ERPNext permissions: a dedicated role profile controls who can send campaigns versus who can only read Message Log, and promotional sends can require an approval workflow.

Because it is build-to-order, nothing here is a download you install blind. You start with a short scoping call, we confirm which local gateways you use, your masked sender IDs, the exact ERPNext events that should trigger alerts, and your Urdu/English template wording. ECOSIRE then builds your version against Frappe/ERPNext v15/v16, tests it on a staging bench, runs UAT with you, and installs it on your production instance with a rollback plan. Typical delivery is one working week from confirmed scope, and you receive the full source and git repository so nothing is locked to us.

What you get

  • Installable Frappe app source code (`ecosire_pk_messaging`) built for your ERPNext version
  • Installation and configuration on your ERPNext bench, including gateway accounts and masked sender IDs
  • Technical documentation: DocType reference, hook/event map, whitelisted API endpoints, and configuration guide
  • User guide plus a live training session for your team on templates, campaigns, and the Message Log
  • Post-go-live support window for defect fixes and configuration adjustments
  • UAT on a staging bench with a documented rollback plan before production install
  • Git repository handover so you own and can extend the full source
  • Sample Urdu/English templates and a test OTP flow wired to a demo trigger

Who this is for

ERP-driven online retailer

A Pakistani e-commerce or retail SMB running ERPNext that needs order-confirmation, dispatch, and delivery alerts fired automatically on Sales Order and Delivery Note submit, sent under a recognizable branded sender mask.

Operations / IT manager

Owns the ERPNext instance and wants messaging wired into real doc events and the REST API with a clean Message Log for reconciliation, instead of staff copy-pasting numbers into a separate SMS panel.

Product or portal owner needing OTP

Runs a customer portal or mobile app on top of ERPNext and needs a secure server-side OTP endpoint with expiry and throttling for login and checkout verification.

Marketing lead running promotions

Sends bilingual Urdu/English WhatsApp and SMS campaigns, needs template management, a separate promotional gateway account, and an approval step so promotional traffic stays compliant and controlled.

How Pakistan SMS & WhatsApp Gateway Pack Compares

CriterionECOSIRECustom BuildCompetitorERPNext Native
Local PK gateway supportAdapters for your local aggregators behind one config-driven methodWhatever you build and maintain yourselfUsually one generic HTTP gateway, rarely PK-tunedSingle generic SMS gateway in SMS Settings
Masked / branded sender IDPer-account masked sender ID enforced on transactional sendsPossible but you design and test itOften a fixed sender field, no per-account maskingNo first-class masked sender concept
WhatsApp supportWhatsApp Cloud API adapter with template messagesBuild and certify the integration yourselfSometimes bolted on, template support variesNone
OTP flowServer-side whitelisted method with expiry and throttlingYou implement hashing, expiry, and throttlingRarely a hardened OTP endpointNo built-in OTP service
Bilingual templatesPaired Urdu/English bodies with Jinja placeholdersRoll your own template layerSingle-language templates typicalBasic message field, no bilingual pairing
Delivery receipts & loggingScheduler reconciles receipts into a full `Message Log`Build the polling and audit trail yourselfBasic logging, receipt polling uncommonMinimal send logging, no receipt reconciliation
ERPNext event wiringhooks.py doc events on your exact triggers, staged and testedYour team writes and maintains the hooksGeneric notification hooks, limited tuningNotification DocType, limited masking/WhatsApp
Ownership & supportFull source, git handover, post-go-live support windowYou own it and carry all maintenanceVendor-locked, support tied to subscriptionCommunity support only

Frequently Asked Questions about Pakistan SMS & WhatsApp Gateway Pack

How long does delivery take?

This is a build-to-order app, not an instant download. After a short scoping call to confirm your gateways, sender IDs, trigger events, and template wording, typical delivery is one working week from confirmed scope — including a staging build, UAT, and production install.

Which Pakistani SMS gateways and WhatsApp are supported?

We build adapters for the local aggregator HTTP APIs you already use (Jazz/Telenor-style providers) plus the WhatsApp Cloud API. Because each provider sits behind one dispatch method configured on a `PK Gateway Account`, adding or switching a gateway is a configuration change rather than a rewrite.

Can it use our registered masked / branded sender ID?

Yes. Each `PK Gateway Account` carries its own masked sender ID, so transactional traffic goes out under your PTA-registered brand mask. You can route promotional traffic through a separate account to keep it compliant and separately capped.

How does it hook into ERPNext events?

We bind Frappe doc events in `hooks.py` (for example `on_submit` of Sales Order and Delivery Note, `on_payment_authorized`) via server scripts, so alerts fire the moment a document changes state and render the correct Urdu or English template automatically. Custom DocTypes and triggers are supported too.

What about support and updates after go-live?

Every build includes a post-go-live support window for defect fixes and configuration tweaks. Because you receive the full source and git repository, your own team can extend it, and we offer ongoing support or a v15-to-v16 upgrade as a separate engagement.

Which ERPNext versions does it target?

The app is built and tested against Frappe/ERPNext v15 and v16 and installed as a standard Frappe app on your own bench. We confirm your exact version during scoping so the build matches your instance.

Is customer data sent through a third-party hosted service?

No. The app runs inside your own ERPNext bench and calls your gateway providers directly. ECOSIRE does not sit in the middle of your message traffic, and every send is recorded in your own `Message Log` DocType.

Request a quote

Pakistan SMS & WhatsApp Gateway Pack

A build-to-order ERPNext app that wires local Pakistani SMS gateways and WhatsApp into your ERPNext instance for masked-sender OTPs, transactional alerts, and bilingual campaigns. ECOSIRE scopes, builds, installs, and supports it for you.

  • `PK Gateway Account` DocType holding per-gateway credentials, base URL, masked sender ID, and rate caps — swap providers via config, not code
  • Pluggable adapters for local Pakistani SMS aggregators (Jazz/Telenor-style HTTP APIs) behind a single whitelisted dispatch method
  • WhatsApp Cloud API adapter with template-message (HSM) support for approved transactional and promotional flows
  • Masked/branded sender ID enforcement per account so transactional traffic sends under your PTA-registered brand mask

Request a Quotation

Tell us about your Pakistan SMS & WhatsApp Gateway Pack requirements and we'll send pricing, licensing options and a tailored proposal — usually within one business day.

No payment now. This sends a quote request to our team — we'll follow up by email with pricing and next steps.