plugin-icon

GatewayAPI

Send SMS notifications for WooCommerce orders, create SMS campaigns, manage contacts, and add two-factor authentication - powered by GatewayAPI.com.
Bewertungen
5
Version
2.1.0
Aktive Installationen
400
Zuletzt aktualisiert
Feb 5, 2026
GatewayAPI

Send SMS notifications for WooCommerce orders, create SMS campaigns, manage contacts, and add two-factor authentication – powered by GatewayAPI.com.

📝 Description

GatewayAPI for WordPress is a powerful SMS plugin that combines WooCommerce transactional SMS notifications with a high-performance campaign and contact management system.

The plugin allows you to automatically send SMS messages when WooCommerce orders change status, as well as create and send personalized SMS campaigns to large contact lists.

You can also add an extra layer of security to your WordPress site with SMS-based two-factor authentication, helping protect your login process with verification codes sent directly to your mobile device.

Version 2 is a complete rewrite of the plugin, with a strong focus on performance, reliability, and modern WordPress standards.

All SMS messages are delivered via GatewayAPI.com, one of Europe’s leading SMS gateways.

⭐ Main Features

🛒 WooCommerce SMS Notifications

  • Send automatic SMS messages based on WooCommerce order status changes
  • Separate message templates for customer and internal recipients
  • Fully configurable per order status
  • Supports all standard WooCommerce order statuses

🔐 Two-Factor Authentication

  • Add an extra layer of security to your WordPress login
  • SMS-based verification codes sent automatically during login
  • Can be limited to specific roles and phone countries
  • Works with standard WordPress authentication
  • Uses GatewayAPI’s reliable SMS delivery

📢 SMS Campaigns & Broadcasts

  • Send SMS campaigns to large contact lists
  • High throughput and stable delivery using Action Scheduler
  • Designed to work reliably even on shared web hosting
  • Background processing

📇 Contact & List Management

  • Manage contacts directly in WordPress
  • Import and export contacts using CSV files
  • Store custom fields per contact
  • Reusable contact lists for campaigns
  • Use contact fields for mail-merged SMS content

✉️ Personalized Message Templates

  • Mail-merge support for campaigns and WooCommerce messages
  • Use dynamic placeholders such as customer data, order data, and custom fields
  • Supports both GSM and Unicode SMS
  • Configurable sender ID per message

🧩 Frontend Shortcodes

  • Signup: Allow users to subscribe to your SMS lists directly from your website.
  • Update Profile: Enable users to update their contact details and group subscriptions.
  • Unsubscribe: Provide a simple way for users to opt-out of SMS communications.
  • Send SMS: Enable SMS sending from the frontend (e.g. for internal tools).

🚀 Built for Reliability & Scale

  • Uses Action Scheduler (the same job system used by WooCommerce)
  • Non-blocking background processing
  • Suitable for very large campaigns (100,000+ recipients)
  • No PHP timeouts or long-running requests

⚠️ Coming from v1.x? Some features are gone

The following features are not part of this plugin anymore:

  • Receiving or processing incoming SMS messages
  • Contact Form 7-integration

These features had very low usage and were removed to simplify the plugin. If you need this, consider the legacy version of the plugin (any version before 2.0).

🌍 About GatewayAPI.com

  • Founded in 1999
  • One of Europe’s leading SMS providers
  • Offices in Copenhagen, Odense, and Aalborg, Denmark
  • Hundreds of millions of SMS messages delivered yearly
  • No subscriptions – pay only for what you send
  • Fast and reliable SMS delivery worldwide

🔧 Installation

  1. Create a free account at https://gatewayapi.com/
  2. Install and activate the plugin
  3. Go to GatewayAPI Settings
  4. Add your API Token from your GatewayAPI.com account
  5. Play around! Send a test campaign or setup a WooCommerce Order hook

🚀 Getting Started

🛍️ WooCommerce Notifications

After installation, you can enable SMS notifications per WooCommerce order status. Each status can send messages to customers, internal recipients, or both.

Place a test order to confirm everything is working as expected.

📨 Campaign Messaging

You can create SMS campaigns without WooCommerce:

  • Import contacts via CSV or add them manually
  • Organize contacts into lists
  • Create a personalized SMS campaign

🔐 Two-Factor Authentication

To add SMS-based two-factor authentication to your WordPress site:

  • Go to GatewayAPI Settings Two-Factor
  • Enable two-factor authentication
  • Configure which user roles should use two-factor authentication
  • Optionally limit to specific phone countries for security
  • Set a grace period if needed

🧩 Shortcodes

The plugin provides shortcodes to integrate SMS features into your frontend.

📝 Common Attributes

  • action: (required) One of signup, update, unsubscribe, send_sms.
  • recaptcha: Set to 1 to enable Google reCAPTCHA (must be configured in settings).
  • embed_css: Set to 1 to embed basic styling for the form.
  • groups: Comma-separated list of group/tag IDs to target.
  • allowed_countries: Comma-separated list of country codes (e.g., 45,44).

➕ Signup Form

[gatewayapi action=“signup“ groups=“1,2,3″]

🔄 Update Profile

[gatewayapi action=“update“]

❌ Unsubscribe

[gatewayapi action=“unsubscribe“]

✉️ Send SMS

[gatewayapi action=“send_sms“ groups=“1″]

Security Warning: The send_sms action allows sending SMS messages from your frontend. This can be dangerous if left open to the public as it could be abused to send spam or drain your GatewayAPI credits.

We strongly recommend combining this with a security system, such as: * Placing the shortcode on a password-protected page. * Restricting access to specific user roles using a membership plugin. * Always enabling recaptcha=“1″ to prevent automated abuse.

❓ Frequently Asked Questions

Can this plugin handle very large SMS campaigns?

Yes. Campaigns are processed using Action Scheduler, ensuring stable delivery, high throughput, and retries — even on shared hosting environments.

Does this plugin support personalized SMS messages?

Yes. You can use dynamic placeholders from contacts and WooCommerce orders to send fully personalized, mail-merged SMS messages.

Is WooCommerce required?

WooCommerce is only required for order-based SMS notifications. Campaign messaging and contact management work without WooCommerce.

🔗 External services

This plugin connects to the GatewayAPI.com service to send SMS messages. This external service is required for the plugin’s primary functionality, which is delivering transactional and campaign SMS messages.

When sending an SMS, the plugin transmits the recipient phone number, message content, and related metadata (such as sender ID) to GatewayAPI.com. For WooCommerce notifications, order-related data may be used to generate the message content before it is sent.

No data is sent to GatewayAPI.com unless an SMS is actively being sent by the site administrator or triggered by configured WooCommerce events.

This service is provided by GatewayAPI ApS.

Privacy policy, terms and conditions, data processing agreement, and security certifications (including ISAE 3000 and ISAE 3402) are available at: https://gatewayapi.com/security-and-compliance/

📋 Changelog

2.1.0

  • New feature: Shortcodes for signup, updating contact details, and unsubscription.
  • New feature: Shortcode for sending SMS from the frontend (use with caution and combine with security-system).
  • Bugfix: Contacts filtering by tag didn’t work.

2.0.8

  • The migration tool should now be available to all users of the 1.x-versions, as some were missing it.

2.0.7

  • Tool for easy and automatic migration of old contacts, contact fields and contact groups included.
  • Automatically migrates and uses old OAuth key.

2.0.5

  • Bugfix: For users upgrading from 1.x, a missing capability upgrade made the plugin unavailable until deactivate + reactivate.

2.0.4

  • Two-factor authentication has been re-added to the plugin.

2.0.2-2.0.3

  • No changes. These versions exist because we have been working on automating release processes.

2.0.1

  • Minor modifications to ensure best-practices as per WordPress guidelines.

2.0.0

  • Complete rewrite of the plugin!

1.8.3

  • Compability up to WordPress 6.3.1.

1.8.2

  • Bugfix: Built in shortcode defaulted to the posts title as the name of the new recipient. Now defaults to “, as expected.

1.8.1

  • Bugfix: Built in shortcode for signup did not work properly, when allowing the user to select groups.

1.8.0

  • Support for using our GatewayAPI.eu-setup!
  • Bugfix: 2FA login security could fail on PHP 7.4+.

1.7.6

  • Bugfix: Fixing that GatewayAPI Shortcode for signup had stopped saving some meta-fields since 1.7.2.

1.7.5

  • Bugfix: Default country code did not apply correctly in the country drop downs.

1.7.4

Compability with Contact Form 7.

  • Bugfix: Signup via Contact Form 7 works again (upgraded to being compatible with CF7’s newer window.fetch based approach of AJAX).
  • Bugfix: Notices in CF7-integration (PHP) and a typo, causing an exception in frontend JS on CF7-forms.

1.7.3

Bugfix release.

  • Bugfix: Saving recipient details using the UI and via Excel-importer, works properly again.
  • Bugfix: SMS Reply-feature works again.

1.7.2

This release strengthens the overall security, thanks to input from an external security audit.

We highly recommend upgrading to this version, as it hardens the security of our plugin, especially on WordPress-installation with multiple users which may have users of lower roles than editor.

  • Consistent use of nonce’s in AJAX requests, to prevent CSRF and prevent privilege escalation.
  • Enforce correct roles for various actions, preventing potential privilege escalation.
  • Improved sanitizing, validation and escaping of input and output.
  • All PHP-files are now secured from direct access.
  • Refactored function prefixes from gwapi_, _gwapi_ and _gatewayapi_ to gatewayapi_ only.

1.7.1

  • Bugfix: Notifications were not sent.

1.7.0

  • New: Notification module: Receive SMS-notifications when various actions occur in WordPress
    • BETA: Please get in touch if you have ideas/suggestions for improving this feature.
  • Neu: Standardeinstellung für das Ländercodefeld (bisher waren alle Länderselektoren standardmäßig auf +45/Dänemark eingestellt).
  • Neu: Programmieraktionen gwapi_form_subscribe und gwapi_form_unsubscribe hinzugefügt. Die erste wird ausgelöst, wenn neue Empfänger die Anmeldung über unseren Shortcode-Formulare abschließt und letztere bei Abmeldung über die Shortcode-Formulare.
  • Optimierung: Verschiedene nicht benötigte Abhängigkeiten entfernt.
  • Dänische Übersetzung aktualisiert, einschließlich des Benachrichtigungsmoduls.
  • Readme aktualisiert, um über das Benachrichtigungsmodul und andere Textverbesserungen zu informieren.

1.6.9

  • Neu! Erstelle Benachrichtigungen, um Empfänger automatisch per SMS zu benachrichtigen, wenn eine WP-Aktion ausgeführt wird.

1.6.8

  • Bugfix: Das Präfix war nicht für alle Instanzen von db_table-Verwendungen angegeben.

1.6.7

  • Bugfix: Zuvor importierte Empfänger konnten nicht erneut importiert werden, wenn sie gelöscht wurden.

1.6.6

  • Bugfix: Bei Verwendung des Empfängerimports wurden Gruppenempfänger nach Abschluss des Imports nicht korrekt gezählt.

1.6.5

  • Verbessert: Import von Empfängern optimiert.

1.6.4

  • Kompatibel mit WordPress 5.5
  • Verbessert: Die Integration in Contact Form 7 unterstützt jetzt den Shortcode für Pflichtfelder
  • Verbesserung: Aktualisierte Benutzeroberfläche und Beschreibungen.

1.6.3

  • Kombatibel mit WordPress 5.4
  • Neu! Empfängergruppen können jetzt bei Verwendung von Funktionscode standardmäßig deaktiviert sein
  • Tweak: Kleinere Updates der Benutzeroberfläche.

1.6.2

  • Optimierung: Die Frontend-Formulare verwenden jetzt reguläre SMS anstelle von SMS-Anzeige für zwei Faktoren, wie von mehreren Benutzern angefordert.
  • Bugfix: Bei Verwendung von Schlagwörtern kann die Liste der an GatewayAPI gesendeten Schlagwörtern in einer Situation enden, in der dieselben Schlagwörter-Daten wiederholt werden.

1.6.1

  • Die URL in Zwei-Faktor-SMS wurde entfernt, da dies nicht erforderlich war und dazu führte, dass SMS vom neuen Link-Scanner von GatewayAPI blockiert wurden.

1.6.0

  • New! Custom encoding for SMS’es, allowing SMS’es with emojis and other special characters.
    • UI which detects what encoding should be used, always recommending the cheapest option (ie. most characters per SMS).
    • Die API-Methode gwapi_send_sms hat ein neues Argument zum Festlegen der Codierung.
    • Vollkommen kompatibel mit älteren Versionen, standardmäßig mit Standardcodierung.
  • Kombatibel mit WordPress 5.1

1.5.2

  • Kompatibel mit WordPress 5.0.3.
  • Fix: Der Excel-Export von Empfängern funktionierte nur, wenn „SMS-Posteingang“ aktiviert war.
  • Fix: Hinweise im Excel-Export.

1.5.1

  • Aktualisierte dänische Übersetzungen (hauptsächlich die Zwei-Faktor-Einstellungen und das Frontend).
  • Fix: Unser Shortcode wurde unbeabsichtigt umbenannt. Wir unterstützen jetzt sowohl [gwapi] als auch [gatewayapi].
  • Fix: Das Zwei-Faktor-Modul verursachte einen schwerwiegenden Fehler in PHP 5. Außerdem wurden allgemeine Hinweise im Zwei-Faktor-Modul behoben.
  • Fix: Das Zwei-Faktor-Modul verursachte einen schwerwiegenden Fehler beim Erstellen neuer WordPress-Benutzer.

1.5.0

  • Neu! Zwei-Faktor-Sicherheitsupgrade für Ihr WordPress! (Optional)
  • Neu! Blacklisting von Telefonnummern.
  • Verbessert: Die Suche nach Empfängern nach Telefonnummer funktioniert.
  • Verbessert: Bessere Unterstützung für mehr als 10.000 Empfänger + eine Fortschrittsanzeige zur Anzeige des Fortschritts.

1.4.2

  • Recipients:
    • Added option to blacklist phone numbers.
    • Unterstützung für die Suche nach Empfängerlisten nach Telefonnummer hinzugefügt (bisher nur nach Namen).
    • Dropdown-Liste in der Empfängerliste zum Filtern nach Gruppe hinzugefügt.
  • Fix: Verbesserte Handhabung großer Empfängerlisten (dh mehr als 1.000 Empfänger in einer SMS)

1.4.1

  • Fix: Die Liste der Länder wird jetzt immer korrekt analysiert, auch wenn die JSON-Datei (die über AJAX abgerufen wird) nicht den richtigen MIME-Typ hat.

1.4.0

Hinweis: v1.4.0 kann deine Contact Form 7-Formulare mit Gateway-API-Feldern beschädigen, da sich die Shortode-Syntax für die meisten unserer Felder geringfügig geändert hat. Wir mussten diese Änderung vornehmen, um mehrere Fehler und Inkonsistenzen zu beheben. Bitte füge die GatewayAPI-Felder erneut zu deinen Contact Form 7-Formularen hinzu, wenn du das Plugin aktualisierst.

  • Contact Form 7:

    • Möglichkeit, SMS vom Frontend aus zu senden.
    • Aktualisieren eines Abonnenten: Formulare aktualisieren jetzt nur Gruppen, die speziell für das Formular ausgewählt wurden.
    • Bugfixes und Codebereinigung, verbesserte Shortcode-Syntax.
  • Vollständiges Benutzerhandbuch für das System (online verfügbar).

  • Export von Empfängern in Excel- und CSV-Formate.

1.3.3

  • Contact Form 7: Unterstützung für Formulare hinzugefügt, die auch ein reCaptcha-Feld enthielten.
  • Codebereinigung

1.3.2

  • Bugfix: Ein Menüpunkt ist im Backend verschwunden.

1.3.1

  • Neue Benutzeroberfläche zum Erstellen automatisierter Aktionen. Unterstützt derzeit „Autoreply“ basierend auf dem Keyword.

1.3.0

  • Unterstützung für den Empfang von SMS hinzugefügt, einschließlich Setup-Assistent und Posteingang.

1.2.3

  • Bugfix: Die neue Bestätigungs-SMS für Contact Form 7 hatte einen Tippfehler und brach die Bestätigungs-SMS ab.
  • Fehlende Übersetzungen: Die Popup-Nachrichten zur Überprüfung wurden nicht ins Dänische übersetzt.

1.2.2

  • Bessere Unterstützung für internationale Telefonnummern: Vorangestellte Nullen in der Telefonnummer selbst (zwischen Länderpräfix und Telefonnummer) funktionieren jetzt korrekt.

1.2.1

  • User synchronization:
    • No longer requires a country code meta field, instead allowing a default country code when this value is missing.
    • Jetzt ist es möglich, eine „einmalige“ Synchronisation auszulösen.
  • Contact Form 7:
    • Now possible to send an SMS-reply on form success automatically.
    • SMS-Validierung für die Anmeldung, bevor das Formular erfolgreich gesendet werden kann.
    • Bugfix: Die Validierung funktioniert jetzt für alle GatewayAPI-Felder.

1.2.0

  • Contact Form 7: Integration zur Unterstützung der Anmeldung, Aktualisierung und Abmeldung von Formularen für das Frontend. Zwei-Faktor-Flow für Update-Flow möglich.

1.1.6

  • Bugfix: Safari-spezifisches Problem mit dem SMS-Zähler.
  • Bugfix: Versteckte erforderliche Felder können die Einstellungsseiten beschädigen.
  • Aktualisierte Übersetzungen für Dänisch.

1.1.5

  • Unterstützung für die automatische Synchronisation von WordPress-Benutzern => Empfänger (einwegig) einschließlich aller Metafelder und -gruppen.

1.1.4

  • Aktualisiere die WordPress-Erweiterungsseite.

1.1.3

Fehlerbehebung: * Die Optionsseite wurde nach dem Update zunächst nicht geladen. * CSS / JS fehlt. * Ein paar Hinweise wurden gelöst.

1.1.2

  • Bugfix: Der letzte Schritt der Anmeldung ist fehlgeschlagen, wenn ein anonymer Benutzer fehlschlägt.

1.1.1

  • Bugfix: Das Einreihen von Front-End-Skripten und CSS funktionierte bei Gästen nicht.

1.1.0

Kostenlosmit dem Business-Tarif
Mit deiner Installation stimmst du den Geschäftsbedingungen von WordPress.com sowie den Bedingungen für Drittanbieter-Plugins zu.
Getestet bis
WordPress 6.9.1
Dieses Plugin steht für deine -Website zum Download zur Verfügung.