TG Stars Pay for WooCommerce

Description

Accept Telegram Stars (XTR) in WooCommerce. Just enter your UID — no bot token, tunnel or webhook setup.

Setup

  1. Open the official bot in Telegram, press Start, accept the terms, set your TON wallet, copy your UID.
  2. WooCommerce Settings Payments Telegram Stars: enter the UID, tick “Enable”, save.
  3. In the bot, tap “Confirm” on the binding request for your website. The settings page shows “Connected”.

Plans

Free: payments go through the official bot (a fee applies); the base currency is USD only; earnings are settled after Telegram’s hold period and withdrawn from the bot.
Annual: enter the annual key to use up to 10 of your own bots (rotated), no fees, any store currency, and receive the customer’s Telegram name on each order.

On every plan: the shop owner gets a Telegram message for each paid order (order number, item names, amount), and the customer gets the full order (order number, items, totals, shipping address for orders that need shipping, plus download links / serial numbers if any) in Telegram.

The free plan’s base currency is USD. If your WooCommerce currency is not USD, checkout still works normally and customers see nothing unusual: the order total is simply charged as USD (10 EUR = 10 USD). You (the shop owner) are warned in the plugin settings, in a wp-admin notice, in a private order note and in the Telegram order notification, so you can check your store currency. Annual plan: any currency, converted at the current rate.

Privacy

Order amount, currency, order id, item names and quantities, and the order message sent to the customer (totals, shipping address, download links / serial numbers) pass through the payment server to reach the customer and the shop owner in Telegram. Bot tokens and keys are sent over HTTPS and are not stored on your site.

Developer notes

Set the server address in tg-stars-pay.php (TGSP_API_ORIGIN) before distributing, or define it in wp-config.php.

External services

This plugin connects to the TeleStarPay payment API (https://telestarpay.me) to create Telegram Stars invoices, check payment status, and deliver order notifications to the customer and shop owner via Telegram.

Data sent to the service:
– When saving settings: the site URL, callback URL, and the shop owner’s Telegram UID, to register the site and bind it to the Telegram bot.
– When a customer checks out: order ID, amount, currency, item names and quantities, to create the payment invoice.
– After payment: the order total, shipping address, download links / serial numbers, and customer note, to deliver the order message in Telegram.

This service is provided by TeleStarPay: Terms of Service, Privacy Policy.

If you use your own payment bot (annual plan), bot tokens are sent over HTTPS to the same service and are not stored on your site.

Screenshots

Reviews

There are no reviews for this plugin.

Contributors & Developers

“TG Stars Pay for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.0

  • Free plan: base currency is USD; annual plan: any currency. A free-plan store using another currency is never blocked at checkout: the amount is charged as USD and only the shop owner is warned.
  • Customers now receive the full order in Telegram (order number, items, totals, shipping address, download links / serial numbers) instead of only download links.
  • Shop owners get an order notification (order number, item names, amount) on every plan, sent by their payment bot.
  • Settings page: if the payment server no longer recognises this site’s saved credentials (server address changed, or the server’s data was reset), saving the settings now registers the site again automatically instead of leaving it stuck. The error message now explains the real cause.
  • The “Message sent to the customer after payment” settings section is removed: the order message is generated automatically for every customer and needs no configuration.