{"id":49888327,"url":"https://github.com/boxlinknet/kwtsms-opencart","last_synced_at":"2026-05-15T19:33:57.823Z","repository":{"id":349540541,"uuid":"1199513860","full_name":"boxlinknet/kwtsms-opencart","owner":"boxlinknet","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-06T12:44:48.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-06T13:32:38.900Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boxlinknet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-02T12:29:38.000Z","updated_at":"2026-04-06T12:44:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/boxlinknet/kwtsms-opencart","commit_stats":null,"previous_names":["boxlinknet/kwtsms-opencart"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/boxlinknet/kwtsms-opencart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxlinknet%2Fkwtsms-opencart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxlinknet%2Fkwtsms-opencart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxlinknet%2Fkwtsms-opencart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxlinknet%2Fkwtsms-opencart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boxlinknet","download_url":"https://codeload.github.com/boxlinknet/kwtsms-opencart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxlinknet%2Fkwtsms-opencart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33076226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-15T19:33:55.119Z","updated_at":"2026-05-15T19:33:57.817Z","avatar_url":"https://github.com/boxlinknet.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kwtSMS - SMS Gateway for OpenCart 4.x\n\n[![OpenCart](https://img.shields.io/badge/OpenCart-4.x-blue?logo=opencart)](https://www.opencart.com)\n[![PHP](https://img.shields.io/badge/PHP-8.0%2B-777BB4?logo=php\u0026logoColor=white)](https://php.net)\n[![License](https://img.shields.io/badge/License-GPL--3.0-green)](LICENSE)\n[![kwtSMS](https://img.shields.io/badge/Gateway-kwtSMS-FFA200)](https://www.kwtsms.com)\n[![Arabic](https://img.shields.io/badge/Language-EN%20%7C%20AR-orange)](https://www.kwtsms.com)\n[![Free](https://img.shields.io/badge/Price-Free-brightgreen)]()\n\nFree OpenCart 4.x extension that integrates the [kwtSMS](https://www.kwtsms.com) SMS gateway for order notifications, OTP verification, abandoned cart recovery, and admin alerts.\n\n## About kwtSMS\n\n[kwtSMS](https://www.kwtsms.com) is a Kuwait-based SMS gateway operating since 2007, serving 1,000+ networks across 220+ countries. It is the SMS provider of choice for businesses in Kuwait and the GCC region, offering direct carrier relationships, flat-rate credits that never expire, and private Sender ID registration for Kuwait telecoms (Zain, Ooredoo, STC).\n\nFor more information, visit [kwtsms.com](https://www.kwtsms.com) or contact [support](https://www.kwtsms.com/support.html).\n\n## Features\n\n### Order Notifications\n- **Customer SMS on status change**: configurable per-status, with per-status template overrides\n- **Admin paid order alerts**: SMS when a new paid order arrives\n- **Admin problem order alerts**: SMS on cancelled, refunded, or other problem statuses\n- **Per-status custom templates**: different message for Shipped vs Processing vs Cancelled\n\n### COD OTP Verification\n- **Phone verification at checkout** for Cash on Delivery orders\n- Prevents fake COD orders with one-time code verification\n- Configurable code length, expiry, resend cooldown\n- Rate limiting per phone and per IP\n- Bootstrap 5 modal injected into checkout page\n\n### Abandoned Cart Recovery\n- **Cron-based detection** of abandoned carts\n- Sends SMS reminder after configurable delay (default: 1 hour)\n- One SMS per cart (dedup via cart hash, no spam)\n- Configurable max sends per cron run\n\n### Bulk SMS Campaigns\n- **Send to all customers**, specific customer groups, or custom phone numbers\n- Campaign preview with recipient count and credit estimate\n- Campaign history log with results tracking\n\n### Event Alerts\n- **Customer welcome SMS** on new registration\n- **Admin new customer alert**\n- **Admin low stock alert** with global threshold, once-per-product logic\n- **Admin new product review alert**\n- **Admin return request alert**\n\n### OTP on Login and Registration\n- **Phone verification on customer registration**\n- **Two-factor authentication on customer login** via SMS\n- Configurable per feature (enable/disable independently)\n\n### Core\n- **7-tab admin UI**: Dashboard, Campaigns, Settings, Gateway, Templates, Logs, Help\n- **Gateway login/logout/reload** with live API connection\n- **Test Gateway**: send test SMS through the full pipeline (supports multiple numbers)\n- **24 message templates**: EN + AR, editable with reset-to-default\n- **SMS log**: full audit trail with filters, pagination, clear\n- **Debug log**: internal flow tracing (normalize, verify, clean, send)\n- **Dashboard**: SMS analytics (sent/failed/skipped) and system status\n- **Daily cron sync**: balance, sender IDs, coverage\n- **Phone normalization**: local numbers, Arabic digits, +/00 prefix stripping, default country code\n- **Per-country phone validation**: number length and mobile prefix checks via kwtsms-php library\n- **Bulk SMS**: auto-batching for 200+ recipients with ERR013 backoff\n- **Coverage check**: skips countries not in account coverage\n\n## Requirements\n\n- OpenCart 4.0.2.x or later\n- PHP 8.0 or later\n- ext-curl, ext-json\n- A kwtSMS account ([register here](https://www.kwtsms.com))\n\n## Installation\n\n### From OpenCart Marketplace (recommended)\n\n1. Go to [OpenCart Marketplace](https://www.opencart.com/index.php?route=marketplace/extension\u0026filter_search=kwtsms) and search for \"kwtSMS\"\n2. Download the extension\n3. In your OpenCart Admin, go to **Extensions \u003e Installer** and upload the .ocmod.zip file\n4. Go to **Extensions \u003e Extensions**, select **Modules** from the dropdown\n5. Find **kwtSMS - SMS Gateway** and click the green **+** (Install) button\n6. Click the blue **pencil** (Edit) button to configure\n\n### From GitHub\n\n1. Download the latest release from [GitHub Releases](https://github.com/boxlinknet/kwtsms-opencart/releases)\n2. Extract the zip, the `extension/kwtsms/` directory contains the extension files\n3. Copy the `kwtsms/` folder to your OpenCart installation's `extension/` directory\n4. In your OpenCart Admin, go to **Extensions \u003e Extensions**, select **Modules**\n5. Find **kwtSMS - SMS Gateway** and click Install, then Edit\n\n## Quick Start\n\n1. **Gateway tab**: Enter your kwtSMS API credentials and click Login\n2. **Settings tab**: Extension is enabled by default with sensible defaults\n3. **Templates tab**: Customize SMS message templates (EN + AR)\n4. **Test**: Use the Test Gateway feature to verify everything works\n\n## Placeholders\n\n| Placeholder | Available In | Description |\n|---|---|---|\n| `{order_id}` | Order, Admin | Order number |\n| `{customer_name}` | All | Customer full name |\n| `{order_status}` | Order | Current order status |\n| `{order_total}` | Order, Admin, Cart | Total with currency |\n| `{store_name}` | All | Store name |\n| `{date}` | All | Current date and time |\n| `{customer_email}` | Customer, Admin | Customer email |\n| `{customer_phone}` | Admin | Customer phone |\n| `{product_name}` | Stock, Review, Return | Product name |\n| `{product_model}` | Stock | Product model/SKU |\n| `{product_quantity}` | Stock | Current stock level |\n| `{stock_threshold}` | Stock | Configured threshold |\n| `{rating}` | Review | Review rating (1-5) |\n| `{return_reason}` | Return | Return reason |\n| `{otp_code}` | OTP | Verification code |\n| `{expiry_minutes}` | OTP | Code validity |\n| `{products_summary}` | Cart | Product names in cart |\n\n## Technical Details\n\n- 20 PHP files + 3 Twig templates\n- 8 database tables\n- 9 OpenCart events\n- 2 cron jobs (daily sync + abandoned cart)\n- 24 SMS templates (EN + AR)\n- 7 admin tabs\n\n## Support\n\n- [kwtSMS Support Center](https://www.kwtsms.com/support.html)\n- [FAQ](https://www.kwtsms.com/faq/)\n- [Sender ID Help](https://www.kwtsms.com/sender-id-help.html)\n- [Developers](https://www.kwtsms.com/developers.html)\n\n## License\n\nGPL-3.0-or-later\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxlinknet%2Fkwtsms-opencart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboxlinknet%2Fkwtsms-opencart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxlinknet%2Fkwtsms-opencart/lists"}