Melalweb Pay with Bale for WooCommerce
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
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
- Bale wallet invoices via sendInvoice with automatic webhook confirmation
- Pre-checkout validation within Bale’s 10-second window ( answerPreCheckoutQuery )
- Transaction inquiry via inquireTransaction when a shopper checks payment status
- Optional createInvoiceLink API helper for mini-app style flows
- Test wallet token support: WALLET-TEST-1111111111111111 (same flow, no real transfer)
- Optional store card-to-card with secure receipt upload and manager review
- Admin dashboard for transactions, linked users, events, and CSV export
- Optional percentage discounts per payment method
- Automatic expiry of unpaid payment requests
- Bundled Persian ( fa_IR ) translations for WordPress sites set to فارسی
How Bale wallet pay works
- 01The customer signs in and links their account to the Bale bot with a 15-minute one-time code.
- 02At checkout the plugin creates a payment payload and calls Bale sendInvoice with the wallet provider_token from @botfather.
- 03Bale sends pre_checkout_query . The plugin re-checks the linked account, amount (IRR), order status, and expiry, then answers with answerPreCheckoutQuery .