Linux 软件免费装
Banner图

Pay with bunq for WooCommerce

开发者 patrickkivits
更新时间 2026年11月29日 03:04
捐献地址: 去捐款
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce payment gateway ideal bancontact bunq

下载

2.2.0 2.3.0

详情介绍:

Your customers pay through a bunq.me payment request on your own bunq account. There is no payment service provider in between: the money lands on the bunq account you choose. The payment method logos are from Pronamic's wp-pay-logos (GPL-2.0-or-later). The source code, including the development tools, is on GitHub. Requirements The plugin is developed by Patrick Kivits and is the WooCommerce integration bunq presents to its business customers, see WooCommerce on bunq.com and the bunq Help article.

安装:

  1. In your WordPress admin panel, navigate to Plugins > Add New, search for "Pay with bunq for WooCommerce", then install and activate it.
  2. Navigate to WooCommerce > Settings > Payments > bunq.
  3. Under bunq account, leave Test mode unchecked to receive real payments. To try the plugin first, check Use the bunq sandbox and use a bunq sandbox account in the steps below.
  4. Click Copy next to the Redirect URL. In the bunq app, navigate to Developers > OAuth, tap Add Redirect URL and paste it.
  5. In the bunq app, tap Show Client Details and copy the Client ID and Client Secret into the fields with the same name.
  6. Click Connect to bunq. The settings are saved and bunq shows a QR code: scan it with the bunq app, choose the bank accounts the shop may use and approve. bunq sends you back to the settings page, where Connection now says "Connected to bunq as" followed by your name.
  7. Under Receiving payments, select the Bank account payments are paid into. Check Enable bunq Gateway at the top of the page and click Save changes.
Under Checkout you set the title and description customers see. With Enable direct gateway customers choose iDEAL | Wero, card, Bancontact or a bunq transfer on the checkout page; Payment methods limits which of them are offered. With Show payment methods separately iDEAL | Wero, card and Bancontact are each a payment option of their own at checkout, with its own logo, instead of one bunq option; customers go straight to the chosen method on bunq.me. Payment methods limits which of them are offered, and they also appear in WooCommerce's list of payment methods, where turning one on or off updates these settings. Payments from a bunq account are not offered separately. Managing the connection Once the shop is connected, the settings page hides the Client ID and Client Secret and shows three actions next to Connection: Live mode and the sandbox each have their own OAuth client and connection; the Test mode checkbox switches between them. The Client Secret is never shown again after saving it: leave the field empty to keep it. The bank account list is cached for an hour. Click Refresh bank accounts below the bank account select after adding an account in the bunq app.

屏幕截图:

  • Connecting the shop to bunq on the settings page.
  • Once connected: choose the bunq bank account payments are paid into.

升级注意事项:

2.3.0 bunq.me now offers only the payment method the customer chose at checkout. No need to connect again. 2.2.0 Uses the WordPress HTTP API instead of bundled libraries. No change in behavior; no need to connect again. 2.1.2 Works with a network-activated WooCommerce on multisite. Translations now come from translate.wordpress.org. 2.1.1 Fixes payments in production, which failed since 2.0.1. Update as soon as possible; no need to connect again. 2.1.0 The plugin is renamed and now installs in a new folder. Installed from GitHub? Install this version, then deactivate and delete the old "bunq for WooCommerce" copy. Settings and the bunq connection are kept; no need to connect again. 2.0.1 Updates the bundled libraries. Requires PHP 8.1 and WordPress 5.9 or newer, like 2.0.0; no need to connect again. 2.0.0 Requires PHP 8.1 and WordPress 5.9 or newer: check your versions before updating. On older versions, keep 1.11.0. No other changes; no need to connect again. 1.11.0 Adds payment links and the bunq payment details on the order screen, and fixes payments not being confirmed after changing the bank account. Still supports PHP 7.3 and WordPress 4.7; version 2.0 will require PHP 8.1 and WordPress 5.9. No need to connect again. 1.10.0 Shows the iDEAL | Wero, card and Bancontact logos at checkout and can offer them as separate payment options. bunq is hidden for carts that are not in euros. No need to connect again. 1.9.2 Adds the bunq_for_woocommerce_permitted_ips filter for hosts with several outgoing IP addresses. Nothing changes unless you use it; no need to connect again. 1.9.1 Fixes a bunq payment being recorded twice on an order (payment id, note, status change and emails) when bunq's callback and the customer's return arrived at the same moment. 1.9.0 The plugin no longer uses the bunq PHP SDK, so opcache.save_comments=0 no longer breaks the connection with bunq. Settings and the bunq connection are kept; no need to connect again. 1.8.1 Explains what to ask your host when connecting to bunq fails with "Installation::getToken(): Return value must be of type ... Token, array returned" (opcache.save_comments=0). 1.8.0 Redesigned settings page with one-click "Connect to bunq". The redirect URL must be exactly the plugin settings page URL shown on the settings page: update it in the bunq app if you registered a different one. Settings and the bunq connection are kept. 1.7.0 Security release. Requires WordPress 4.7 or newer. Settings, the bunq connection, orders and pending payment checks are kept.

常见问题:

How do I send a payment link for an order taken by phone or sent as an invoice?

Open an unpaid order in WooCommerce, choose Send bunq payment link to customer under Order actions and click Update. The plugin creates a bunq.me payment request for the order total and emails the link to the billing email address. When the customer pays, the order is confirmed the same way as a checkout payment. Sending the link again reuses the open payment request, unless the order total changed; then the old link is cancelled and a new one is sent. The order's payment method becomes bunq. The action is offered for orders that need payment (pending or failed) in euros while bunq is connected. Edit the email's subject, heading and text in WooCommerce > Settings > Emails > bunq payment link.

How do refunds work?

Open the order in WooCommerce, click Refund, enter the amount and choose Refund via bunq. The plugin creates a draft payment at bunq back to the IBAN the payment came from and adds a note with the draft payment id to the order. Approve the draft in the bunq app to actually send the money: bunq does not let an app connected through OAuth pay an external IBAN without that approval. WooCommerce records the refund as soon as the draft is created, so an unapproved draft leaves the order marked as refunded while the customer has not received anything. Payments without a counterparty IBAN (for example card payments) cannot be refunded through the API; refund those from the bunq app.

An order does not change status. Where do I look?

Everything the plugin does with bunq (callbacks received, payments matched, refunds, errors) is written to WooCommerce > Status > Logs (source: bunq).

An admin notice says "The connection with bunq stopped working"

The plugin checks the connection with bunq every hour. bunq no longer accepts it: the access was removed in the bunq app, the shop now connects from another IP address, or the selected bank account was closed. The notice shows bunq's answer. Click Connect again on the bunq settings page and scan the QR code; Check again in the notice confirms the fix. WooCommerce > Status shows the outcome of the last check.

The settings page still says "Not connected" after the authorization, or the bank account list says "bunq rejected the saved connection"

  • The plugin shows the error returned by bunq at the top of the settings page right after the redirect back from bunq, with details in the WooCommerce log.
  • Make sure the redirect URL registered in the bunq app is exactly the redirect URL shown on the settings page, including &section=bunq.
  • bunq ties the API key to the IP address the shop's server connects from. If your host sends outgoing requests from changing IP addresses, bunq may reject the session with "Incorrect API key or IP address". List all of the host's outgoing addresses with the bunq_for_woocommerce_permitted_ips filter and click Connect again; see the plugin's GitHub readme for an example.

Unpaid orders are cancelled before the customer paid

By default WooCommerce holds stock for unpaid orders for 60 minutes and then cancels them. Some payment methods offered by bunq.me can take longer. Increase or disable WooCommerce > Settings > Products > Inventory > Hold stock (minutes). The plugin keeps checking unpaid orders in the background for two days and cancels an order once bunq reports its payment request as expired.

Can I try it without real money?

Yes. Check Use the bunq sandbox under Test mode and connect the OAuth client of a bunq sandbox account; the plugin then talks to bunq's sandbox. The live connection is kept: uncheck the box to switch back.

Which language does the payment page use?

The bunq.me payment page is hosted by bunq and follows the language of the customer's browser.

更新日志:

2.3.0 2.2.0 2.1.2 2.1.1 2.1.0 2.0.1 2.0.0 1.11.0 1.10.0 1.9.2 1.9.1 1.9.0 1.8.1 1.8.0 1.7.0 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.10 1.5.9 1.5.8 1.5.7 1.5.6