
內容簡介
GatewayAPI 是一款強大的 WordPress 短信外掛,專為 WooCommerce 設計,能自動發送訂單狀態變更的短信通知,並支持創建短信行銷活動及聯絡人管理,還提供雙重身份驗證功能,增強網站安全性。
【主要功能】
• WooCommerce 訂單狀態變更短信通知
• 短信行銷活動及廣播功能
• 雙重身份驗證增強安全性
• 聯絡人及名單管理
• 可自定義的短信模板
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
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
Create a free account at https://gatewayapi.com/
Install and activate the plugin
Go to GatewayAPI → Settings
Add your API Token from your GatewayAPI.com account
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.4
Improved UI for tag dropdowns when there are many items.
2.1.3
New bulk actions for all contacts matching current filters: Delete/deactivate/activate contact + add/remove tag.
Contacts list UI update, more sleek import/export buttons.
2.1.2
Improved contact import: Papa Parse CSV parser with auto-delimiter detection and auto-created meta fields from unknown columns.
Fallback support: Support for our previous (延伸相關外掛
