Linux 软件免费装
Banner图

Melalweb Pay with Bale for WooCommerce

开发者 rezaei1374
更新时间 2026年9月7日 18:43
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce checkout payments wallet iran bale

下载

1.1.0

详情介绍:

Melalweb Pay with Bale adds Bale wallet checkout to WooCommerce using the official Bale Bot payment methods (sendInvoice, answerPreCheckoutQuery, and inquireTransaction). Bale no longer supports bot card-to-card money requests. Wallet payment is the supported way for bots to receive money. This plugin can still offer an optional store-managed card-to-card method (destination card + receipt upload) that does not use Bale’s removed bot card-to-card API. This plugin is an independent Melalweb integration. It is not affiliated with, endorsed by, or officially connected to Bale, WooCommerce, or Automattic. Bale and WooCommerce are trademarks of their respective owners. Features How Bale wallet pay works
  1. The customer signs in and links their account to the Bale bot with a 15-minute one-time code.
  2. At checkout the plugin creates a payment payload and calls Bale sendInvoice with the wallet provider_token from @botfather.
  3. Bale sends pre_checkout_query. The plugin re-checks the linked account, amount (IRR), order status, and expiry, then answers with answerPreCheckoutQuery.
  4. After payment, successful_payment is received. The charge ID is stored uniquely and the order is completed. Status checks can also call inquireTransaction.
Requirements Localization Source strings are English (WordPress.org standard). When the site language is Persian (fa_IR), the bundled translation in /languages is loaded automatically via load_plugin_textdomain and Domain Path: /languages.

安装:

  1. Install and activate WooCommerce.
  2. Upload the plugin ZIP via Plugins → Add New, or copy the melalweb-pay-with-bale-for-woocommerce folder into wp-content/plugins/.
  3. Activate Melalweb Pay with Bale.
  4. Set the site language to فارسی if you want the Persian admin and checkout UI.
  5. Open Melalweb Pay with Bale in the WordPress admin menu.
  6. Enter the bot username, bot token, and wallet payment token (provider_token), then save.
  7. Click Register webhook with Bale.
  8. Optionally enable store card-to-card and add destination cards.
  9. Set WooCommerce currency to IRR or Toman.

升级注意事项:

1.1.0 Wallet API updates, transaction inquiry, and bundled Persian translations. Create a wallet payment token in @botfather if you still use an older merchant token.

常见问题:

Is this an official Bale or WooCommerce plugin?

No. It is an independent Melalweb plugin that talks to the public Bale Bot API. Melalweb is not affiliated with Bale or WooCommerce.

Does wallet pay support guest checkout?

No. Bale wallet pay needs a logged-in WordPress user linked to a Bale chat. The optional store card-to-card method does support guests.

How do I test payments without transferring money?

Use the Bale test wallet token WALLET-TEST-1111111111111111 as provider_token. It follows the same flow without a real transfer.

Where are receipt files stored?

Receipts are stored privately under uploads/melalweb-balepay-receipts/ and are served only through a capability or order-key check.

Can I keep payment data after uninstalling?

Yes. Tables and settings are kept unless you enable the uninstall option on the Appearance tab.

更新日志:

1.1.0 1.0.1 1.0.0