
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.
sendInvoice with automatic webhook confirmationanswerPreCheckoutQuery)inquireTransaction when a shopper checks payment statuscreateInvoiceLink API helper for mini-app style flowsWALLET-TEST-1111111111111111 (same flow, no real transfer)fa_IR) translations for WordPress sites set to فارسیsendInvoice with the wallet provider_token from @botfather.pre_checkout_query. The plugin re-checks the linked account, amount (IRR), order status, and expiry, then answers with answerPreCheckoutQuery.successful_payment is received. The charge ID is stored uniquely and the order is completed. Status checks can also call inquireTransaction.provider_token) from @botfatherSource 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.
This plugin connects to Bale (an Iranian messenger and payments platform) so a store can send wallet invoices, confirm payments, inquire transactions, register a webhook, and optionally send status messages in Bale.
sendInvoice), answering checkout queries (answerPreCheckoutQuery), inquiring transactions (inquireTransaction), optionally creating invoice links (createInvoiceLink), registering the store webhook, testing the bot connection, sending optional order-status messages, and receiving payment updates.https://tapi.bale.aihttps://ble.ir/{bot}?start={code} URL opened by the customer.https://ble.irThis plugin does not send store, customer, or payment data to Melalweb.
درگاه Melalweb Pay with Bale پرداخت کیفپول الکترونیکی بله را با متدهای رسمی بازو (sendInvoice، answerPreCheckoutQuery و inquireTransaction) به ووکامرس اضافه میکند.
درخواست پول کارتبهکارت از طریق بازوها دیگر توسط بله پشتیبانی نمیشود؛ روش پایدار دریافت پول در بازو، کیفپول است. این افزونه همچنان میتواند یک روش اختیاری کارت به کارت فروشگاهی (نمایش کارت مقصد + بارگذاری رسید) ارائه دهد که از API حذفشده کارتبهکارت بازو استفاده نمیکند.
اگر زبان سایت وردپرس روی «فارسی» باشد، ترجمههای همراه افزونه در پوشه languages بهصورت خودکار بارگذاری میشوند.
sendInvoice را با provider_token کیفپول فراخوانی میکند.pre_checkout_query را میفرستد؛ افزونه ظرف حداکثر ۱۰ ثانیه با answerPreCheckoutQuery پاسخ میدهد.successful_payment میرسد و سفارش تکمیل میشود. دکمه «بررسی وضعیت» میتواند از inquireTransaction هم استفاده کند.توکن آزمایشی WALLET-TEST-1111111111111111 را بهعنوان provider_token وارد کنید.