| 开发者 |
bachs
isaacshed geekydaniel |
|---|---|
| 更新时间 | 2026年11月17日 17:06 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
collection.succeeded event, with signature verification, not on the browser redirect.bachs-payment-gateway-for-woocommerce folder to /wp-content/plugins/ via FTP or your hosting control panel.We recommend setting your WooCommerce store currency to USD or NGN — these are the currencies Bachs settles in. Your customers are not limited to those, though: with Adaptive Pricing enabled in your Bachs dashboard, shoppers across Africa can pay in their own local currency (such as GHS, KES, UGX, TZS, XAF, XOF, ZMW and RWF), or with cards, bank transfer, mobile money, or crypto stablecoins (USDT, USDC), all on the Bachs checkout. Bachs converts and settles the funds to your balance in USD or NGN. The plugin also accepts GHS, KES, MWK, RWF, TZS, UGX, XAF, XOF and ZMW as the store currency, and keeps this list up to date from Bachs. If your store currency isn't supported, an admin notice tells you and Bachs is hidden at checkout. If your store currency differs from the currency your payments settle in, see the partial refunds question below.
Yes. Fulfilment relies on webhooks. Add the Webhook URL from the plugin settings to your Bachs developer portal, subscribe to collection.succeeded, collection.failed, collection.underpaid, checkout.expired, refund.paid and refund.failed, and paste the signing secret into the plugin.
Under Checkout type you can choose Redirect (the customer is sent to the Bachs hosted checkout page) or Popup (the Bachs checkout opens in a modal on your store, so the customer never leaves your site). Both use the same secure Bachs checkout and are confirmed by the same webhook.
Orders complete when Bachs delivers the signed collection.succeeded webhook. Confirm your webhook URL and signing secret are set correctly, and that your site is reachable from the internet.
The plugin puts a Bachs order on hold, with an order note explaining why, in two situations:
collection.succeeded webhook arrives. If orders stay on hold for this reason, check your webhook URL and signing secret.Yes, from the WooCommerce order screen. Note that Bachs allows a single refund per charge, so once a charge has been refunded (fully or partially) a further refund through Bachs is not possible.
Bachs reads a partial refund amount in the currency the payment settled in, which can differ from your order currency. For example, an order priced in NGN may settle to your balance in USD if you don't hold NGN. Sending the WooCommerce amount as-is would refund the wrong amount, so when a payment settled in a different currency from the order, the plugin blocks the partial refund and shows a message asking you to make it from your Bachs dashboard instead. Full refunds always work from WooCommerce, because Bachs refunds the whole payment without needing an amount. Partial refunds work from WooCommerce when the payment settled in the order currency.
Not in this version. This release covers one-time payments and refunds.