Nikolaus77 Order Notifications for Telegram

By nikolaus77

0+ active installationsVersion 1.0

Instant order notifications for shop admins and customers via a Telegram bot, with two-way chat.

Description

Nikolaus77 Order Notifications for Telegram sends instant order notifications to a Telegram bot — both to the shop administrator and, optionally, to the customer. It also lets you communicate with the customer in both directions directly from the bot interface.

Features

  • Instant new-order alerts — admin receives a message with customer name, email, phone, total, item list and a contact note.
  • Optional checkout checkbox — “Contact me in Telegram” lets the customer opt in for a chat at checkout.
  • Thank-you page button — after order placement the customer sees a “Open Telegram chat” button tied to their specific order via a secure token.
  • Two-way chat — customer writes to the bot, admin sees the forwarded message and replies with one inline button (“Reply”). No group chats, no third-party chat panels.
  • Order status updates — both admin and (if connected) the customer get a message when the order status changes.
  • Configurable templates — separate HTML-enabled templates for admin and customer messages with {order_id}, {customer_name}, {order_total}, {items} and other placeholders.
  • Modern admin UI — hero header, tabs, toggle switches, AJAX-based test controls.
  • HPOS-compatible — declares compatibility with WooCommerce High-Performance Order Storage.

How it works

  1. Admin configures Bot Token and Admin Chat ID in WooCommerce → N77 Order Ping.
  2. Customer places an order and optionally checks “Contact me in Telegram”.
  3. On the Thank-you page the customer clicks the chat button, opens the bot with a ?start=TOKEN deep-link, and a chat_id is bound to the order.
  4. From this moment admin and customer can message each other via the bot.

External services

This plugin connects to the official Telegram Bot API to send order notifications and enable two-way chat between the shop administrator and the customer.

What data is sent and when:
* When an order is placed or its status changes, the plugin sends the order details (name, email, phone, total, items) to the Telegram API.
* When the admin replies to a customer, the message text is sent to the Telegram API.
* The plugin uses the administrator’s own bot token to authenticate with the API.

Service provided by:
Telegram Messenger Inc.
* Terms of Use: https://telegram.org/tos
* Privacy Policy: https://telegram.org/privacy

Installation

  1. Upload the nikolaus77-order-notifications-for-telegram folder to /wp-content/plugins/ via FTP, or upload the ZIP via Plugins → Add New → Upload Plugin.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Make sure WooCommerce is installed and active.
  4. Go to WooCommerce → N77 Order Ping.
  5. Open @BotFather in Telegram, run /newbot, copy the bot token.
  6. Open @userinfobot, copy your numeric chat ID.
  7. Paste both into the General tab, click Save changes.
  8. Click Send test message to verify delivery.
  9. Place a test order with the “Contact me in Telegram” checkbox — everything else happens automatically.

FAQ

Does it work without HTTPS?

Yes. The plugin uses Long Polling (outgoing requests from your server to the Telegram API), which does not require HTTPS. However, having HTTPS on your site is always recommended.

Can I use it with the block-based checkout?

Version 1.0 targets the classic checkout ([woocommerce_checkout] shortcode). Block-checkout support is on the 1.1 roadmap.

Is it compatible with HPOS (High-Performance Order Storage)?

Yes. The plugin declares custom_order_tables compatibility and uses only the WC_Order API.

Do you send any data outside Telegram?

No. Only the admin’s own bot token and the message content go to api.telegram.org. Nothing else leaves the site.

Screenshots

Changelog

1.0.0

  • Initial release.
  • Instant new-order notifications for admin and (optionally) customer.
  • Checkout checkbox “Contact me in Telegram” with order meta persistence.
  • Thank-you page button with deep-link token binding.
  • Two-way chat via inline “Reply” button.
  • Order status notifications for both sides.
  • Configurable HTML message templates.
  • Modern admin UI with tabs, toggles and AJAX controls.
  • HPOS-compatible declaration.
  • Clean uninstall (uninstall.php).