Linux 软件免费装
Banner图

ShaplaPay Payment Gateway with bKash for FluentCart

开发者 tisha92
更新时间 2026年9月17日 03:04
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

bangladesh payment-gateway bkash fluentcart mobile-banking

下载

1.0.4

详情介绍:

This is an independent plugin by ShaplaPay. It is not affiliated with, endorsed by, or an official product of bKash Limited or the FluentCart team. This plugin lets a FluentCart store in Bangladesh accept payments through bKash, the country's largest mobile financial service. When a customer chooses bKash at checkout, they are sent to the secure bKash hosted page, pay with their wallet, and are brought back to the store with the order marked as paid. How a payment runs
  1. The customer places an order and picks bKash on the FluentCart checkout.
  2. The plugin opens a payment session with the bKash API and sends the customer to the bKash hosted page.
  3. The customer enters their bKash wallet number, the OTP sent to their phone, and their wallet PIN.
  4. bKash sends the customer back to the store. The plugin then confirms the payment server side with the bKash Execute and Query APIs and marks the order paid.
The browser return is never trusted on its own: an order is only marked paid after the bKash API reports the transaction as Completed, and the paid amount is checked against the order total. Features Requirements WordPress will not activate this plugin unless FluentCart (free) is installed (Requires Plugins): Manual wallet transfer mode needs no bKash API credentials at all, only your bKash wallet number. Third-party service and data This plugin uses the bKash Payment Gateway API, a third-party service operated by bKash Limited in Bangladesh. During API checkout, the customer enters their bKash wallet number, OTP and PIN on bKash's own hosted payment page. This plugin never receives or stores the customer's OTP or PIN. Your server communicates with bKash server to server to create, execute, verify and refund payments. Transaction details that bKash returns are stored in the FluentCart order records and the order activity log so the merchant can reconcile the payment. This is limited to the bKash payment ID and transaction ID, the amount and currency, the masked payer wallet number (for example 017****1234) where bKash provides it, the settlement time, and refund transaction IDs. The full raw API response is deliberately not stored, so anything bKash adds to its responses later cannot silently end up in your database. In manual wallet transfer mode, the wallet number, amount and order reference shown to the customer are stored, together with the transaction ID the customer submits. bKash's own terms and privacy notice govern the information bKash processes: This is an independent integration by ShaplaPay. It is not developed, endorsed or maintained by bKash Limited or by the FluentCart team.

安装:

  1. Install and activate FluentCart first.
  2. Upload this plugin through Plugins > Add New > Upload Plugin, or copy the folder into wp-content/plugins.
  3. Activate ShaplaPay Payment Gateway with bKash for FluentCart.
  4. Open FluentCart > Settings > Payments and select bKash.
  5. Enter the four credentials bKash issued for your merchant account. Use the sandbox tab while your store Order Mode is "test" and the live tab once it is "live".
  6. Save. The plugin asks bKash for an API token with those credentials and only enables the gateway if bKash accepts them.
Sandbox credentials for testing are published by bKash in the developer portal at developer.bka.sh under the sandbox documentation.

屏幕截图:

  • Gateway settings: Connection mode, Payment confirmation, notice placement, and the Live and Sandbox credential tabs.
  • Manual transfer confirmation on the receipt page: exact amount, wallet number and order reference, with a field for the customer to submit the bKash Transaction ID.

常见问题:

Which bKash product does this use?

The tokenized checkout product of the bKash Payment Gateway, API version 1.2.0-beta, in mode 0011. That is the standard bKash hosted checkout where the customer enters wallet number, OTP and PIN. No stored agreement or token registration is required, so guest checkout works.

Do I need to configure a bKash webhook?

No. bKash confirms payments through the execute and query APIs, which is the flow bKash documents for this product. There is nothing extra to set up on the bKash side beyond your credentials.

What if I do not have bKash API credentials yet?

Set Connection mode to "Manual wallet transfer" in the gateway settings and enter your bKash wallet number. No API keys are needed. After the order is placed, the confirmation page shows the customer the exact amount to send, your bKash wallet number and the order reference to quote. The order stays pending, and you mark it paid from the FluentCart order screen after you see the transfer in your bKash app. Two settings shape that message:

  • Payment confirmation - "I confirm each transfer myself" only shows the payment details. "Ask the customer for the bKash Transaction ID" also shows a field where the customer enters the bKash Transaction ID they received, which is saved on the order and listed in the bKash report so you can match it against your bKash app. Submitting an ID never marks the order paid.
  • Where to show the payment details - the confirmation page always shows them, since that is the first point at which the exact amount and the order reference exist. You can additionally show a short notice under the bKash option at checkout, before the order is placed.
You can also change the wording of the message with the {wallet}, {amount} and {reference} placeholders. When bKash later issues your Payment Gateway credentials, switch the mode back to API. Orders already placed in manual mode keep their manual workflow, including refunds.

Why can I not refund more than the item total in the refund popup?

That limit comes from FluentCart itself, not from this plugin. When line items are selected in the refund popup, FluentCart caps the amount at the total of those items, and shipping is not a line item. Clear the item selection to refund the full paid amount including shipping.

My store currency is not BDT. Can I still use bKash?

No. bKash only settles in Bangladeshi Taka, so the gateway hides itself on stores with any other currency.

Where do I see the bKash transaction ID?

On the order screen in FluentCart: the bKash transaction ID is written to the order activity log, and both the transaction ID and a masked payer wallet number are stored with the transaction. The bKash reports screen also lists the transaction ID and masked wallet.

更新日志:

1.0.4 1.0.3 1.0.2 1.0.1 1.0.0