Multibanco, MB WAY, Credit card, Apple Pay, Google Pay, Payshop, and PIX (ifthenpay) for WooCommerce
Secure WooCommerce payments with Multibanco, MB WAY, Credit card, Apple Pay, Google Pay, Payshop, and PIX via ifthenpay’s payment gateway.
Install in
“Pagamento de Serviços” (payment of services) on Multibanco (Portuguese ATM network), and MB WAY (using the customer’s mobile phone number), are the most popular ways to pay for services and (online) purchases in Portugal.
Portuguese consumers trust the “Multibanco” and “MB WAY” payment methods more than any other.
This plugin generates a “Multibanco” Payment Reference that customers can use to pay for their WooCommerce orders at an ATM or via home banking, or an “MB WAY” payment request which will send a push notification to the customer’s mobile phone for payment approval.
Credit or debit cards, including Apple Pay and Google Pay, CTT Payshop, and PIX payment methods are also available.
Holders of a Brazilian bank account can conveniently pay for WooCommerce orders in Euros, with automatic currency conversion to Brazilian Real, using PIX.
This is the official ifthenpay plugin, and a contract with this company is required. Technical support is provided by Naked Cat Plugins (by Webdados) on the WordPress.org support forums.
Fully compatible with the new High-Performance Order Storage (HPOS) and the WooCommerce block-based checkout.
Features:
- Generates a Multibanco Reference for simple payment on the Portuguese ATM network or home banking service;
- Allows the customer to pay using MB WAY using their mobile phone;
- Allows the customer to pay using their Credit or debit card, including Apple Pay and Google Pay;
- Generates a Payshop Reference for simple payment on the Payshop agents network, CTT stores or post offices available all over Portugal;
- Customers with Brazilian bank accounts can use PIX;
- Multibanco references with expiration date if the “MB Key” configuration method is used;
- Shop owner can request an MB WAY payment again, or issue a new Multibanco reference, directly from the order edit screen once the original one has expired;
- Automatically changes the order status to “Processing” (or “Completed” if the order only contains virtual downloadable products) and notifies both the customer and the store owner if the automatic “Callback” upon payment is activated;
- Automatic “Callback” can be activated upon request to ifthenpay, via the plugin settings screen for each payment method;
- Refunds for MB WAY, Credit or debit card, Apple Pay, Google Pay, and PIX – read this;
- Shop owner can set minimum and maximum order totals for each payment gateway to be available;
- Ability to reduce stock when the order is created or paid;
- Allows searching orders (in the admin area) by Multibanco or Payshop reference;
- High-Performance Order Storage (HPOS) compatible;
- Block-Based Checkout compatible;
- WPML compatible (for multilingual shops);
- Polylang tested;
- WooCommerce Subscriptions integration (only Multibanco);
- WooCommerce Deposits by webtomizer integration;
- Integration for 3rd party SMS notification plugins (only Multibanco and Payshop):
- WooCommerce – APG SMS Notifications;
- Twilio SMS Notifications;
- YITH WooCommerce SMS Notification;
- E-goi SMS Orders Alert/Notifications for WooCommerce (integration implemented on their plugin);
- Other providers can be added upon request (under quotation);
PRO add-on
Get the PRO add-on and unlock extra features:
- For logged-in returning customers, automatically pre-select whichever of our payment methods they used on their last order at checkout, instead of the default gateway order;
- Recover unpaid MB WAY orders (optionally, even if already automatically cancelled by WooCommerce) by converting them to Multibanco and notifying the customer via email;
- Recover unpaid Credit card orders (optionally, even if already automatically cancelled by WooCommerce) by emailing the customer a new payment link;
- Set MB WAY, Credit card, and ifthenpay Gateway orders as “On hold” instead of “Pending payment” right after checkout;
- Automatic cancellation of orders when Multibanco, Payshop, or MB WAY references expire;
- Countdown timer on the “Thank you” page for MB WAY payments;
- Save the MB WAY mobile number to the user profile for future purchases;
- Trigger Multibanco and MB WAY payments when creating orders via the REST API;
- Store and show the ifthenpay fee and payout (net total) on each order;
- Show a customizable row of ifthenpay payment method icons anywhere on your site with the “ifthenpay Payment Logos” block or shortcode;
- Set a payment entity for Multibanco, MB WAY, Credit card, and Payshop at the product category level, so that you can receive payment in different accounts based on the order products (replaces previously available specific extension);
- Simplified marketplace;
- Lock the cart so you can only have products from a single account in the same order;
- Remove “ifthenpay Gateway” from the payment method title on the frontend for Apple Pay, Google Pay, and PIX;
- Show an icon for each active ifthenpay Gateway payment method (Apple Pay, Google Pay, PIX) instead of the generic ifthenpay Gateway icon;
- Remove payment instructions from specific emails, for example, “order completed”, to avoid customer confusion when they are no longer necessary;
- Change the default timeout for calls to the ifthenpay APIs if your website is experiencing communication difficulties;
- Send the order number instead of the order ID to the ifthenpay APIs and backoffice, for shops using a plugin that changes order numbers;
- Disable the MB WAY and ifthenpay Gateway payment status verification on the “Thank you” page, if you have performance issues;
- Force the callback re-activation for all payment methods, for example, after activating the PRO add-on;
- Hide notices of new available payment methods;
- Hide notices of pending callback activation requests;
- Hide sidebar in payment method settings screen;
- More features coming soon;
- By purchasing the PRO add-on, you get the following:
- All the features described above;
- Premium technical support (conditions apply);
- Contribution to the continued development of the solution;
- Automatic updates;
- Good karma;
The PRO add-on is a product of Naked Cat Plugins (by Webdados), and is not provided by ifthenpay.
Other (premium) plugins
Already know our other WooCommerce (premium) plugins?
- VAT Number and EU VIES Validation for WooCommerce – Collect and validate VAT identification numbers for the whole European Union, confirm them against VIES and remove VAT on qualifying intra-EU B2B orders
- EU Guarantee Notice and GARAN Label for WordPress and WooCommerce – Show the mandatory EU guarantee notice and the EU GARAN label with the official European Commission artwork, and let Proof of Notice check every day that the notice is still on your site
- Portuguese Postcodes for WooCommerce – Automatic filling of the address details at the checkout, including street name and neighbourhood, based on the postal code
- Invoicing with InvoiceXpress for WooCommerce – Automatically issue invoices directly from the WooCommerce order
- DPD Portugal for WooCommerce – Create shipping and return guide in the DPD API directly from the WooCommerce order
- Feed KuantoKusta for WooCommerce – Publish your products on KuantoKusta with this easy to use feed generator
- Simple Checkout Fields Manager for WooCommerce – Add custom fields and manage (rename, reorder, remove, make required or optional) core fields on the WooCommerce block-based and classic checkouts
- Simple WooCommerce Order Approval – The hassle-free solution for WooCommerce order approval before payment
- Shop as Client for WooCommerce – Quickly create orders on behalf of your customers
- Taxonomy/Term and Role based Discounts for WooCommerce – Easily create bulk discount rules for products based on any taxonomy terms (built-in or custom)
- DPD / Geopost Pickup and Lockers network for WooCommerce – Deliver your WooCommerce orders on the DPD, Chronopost, BRT, SEUR and PostNord Pickup network of Parcelshops and Lockers in 25 European countries
Written by Joobi from the project's own listing. See the source page
12.2.1 – 2026-11-24
- [FIX] Credit card and ifthenpay Gateway (Apple Pay, Google Pay and PIX): the emails sent to the customer about an unpaid order, like “Order on-hold” and “Order failed”, now have a link to pay the order
- [FIX] MB WAY: the names of Curaçao and São Tomé and Príncipe were shown with codes instead of accented letters in the country code list on the block checkout
- [FIX] ifthenpay Gateway: the “payment received” message had no payment method name on orders set as paid by the shop, and PHP warnings were logged
- [FIX] WooCommerce Subscriptions: a deprecation notice was logged on every renewal and resubscribe order
- [DEV] New
creditcard_ifthen_email_instructions_pending_send,gateway_ifthen_email_instructions_pending_send,creditcard_ifthen_email_instructions_table_html, andgateway_ifthen_email_instructions_table_htmlfilters - [DEV] Tested up to WordPress 7.2-RC1-65559 and WooCommerce 11.3.0
12.2.0 – 2026-10-22
- [TWEAK] The Cofidis Pay payment method has been removed, as it is no longer available
- [FIX] Refund confirmations sent by ifthenpay for ifthenpay Gateway payments (Apple Pay, Google Pay and others) were never recorded on the order and, on shops with many orders, made the server run out of memory and return errors until ifthenpay stopped retrying
- [DEV] Tested up to WordPress 7.2-alpha-64319 and WooCommerce 11.2.1
12.1.1 – 2026-08-20
- [FIX] Set the MB WAY block checkout phone number max length from the selected country code, without accessing the DOM directly (which was not 100% WordPress 7.1 compatible when editing the blocks checkout page)
- [DEV] Tested up to WordPress 7.2-alpha-63323 and WooCommerce 11.1.0-beta.1
12.1.0 – 2026-08-03
- [NEW] “Issue new Multibanco reference” button on the order edit screen, once the current reference has expired, so the shop owner can request payment again without waiting for the customer to revisit the pay page
- [NEW] Redirect to the payment gateways settings page after single-plugin activation
- [DEV] New
ifthen_disable_disable_only_above_or_below,ifthen_disable_disable_unless_portugal, andifthen_disable_disable_if_currency_not_euroto disable these tests on edge case interactions with other plugins, like “Event Booking Manager for WooCommerce” in which the cart has total of zero when processing the checkout - [DEV] Use
WC()->cart->get_total( 'edit' )instead ofWC()->cart->totalto get cart current total value - [DEV] Fix PHPCS config: minimum_supported_wp_version now matches the actual Requires at least (6.4), re-enable PHPCompatibilityWP with testVersion 7.4-
- [DEV] Add a delete-release GitHub Actions workflow
- [DEV] Tested up to WordPress 7.1-beta4-62968 and WooCommerce 11.0.0-rc.3
12.0.0 – 2026-07-15
- [TWEAK] Gateway keys should now be of type “WooCommerce” and not “Estáticas” (your current gateway key will still work, tho)
- [TWEAK] Do not hide the ifthenpay order metabox even if the payment method is not one of ours
- [FIX] Several improvements to all WooCommerce Blocks payment methods, including translation support
- [FIX] Multibanco reference “no repeat days” check computed its date threshold in a way that could be off by one day right at the site’s midnight boundary, due to a UTC/local offset mismatch
- [FIX] Set API URL on Credit Card and Gateway ifthenpay earlier to avoid edge case issues when they’re instantiated more than once
- [DEV] Use
hash_equals()instead of!==/===when comparing the anti-phishing key and the Credit card HMAC signature on all 6 gateway callback/return handlers, for constant-time comparison (defense in depth) - [DEV] Add missing
defined( 'ABSPATH' ) || exit;guard to the 6 WooCommerce Blocks integration class files - [DEV] Add query support for filtering orders by
_{creditcard_id}_time(order query meta translation), matching the existing_expsupport for other gateways - [DEV] Add
creditcard_ifthen_after_settings_introhook to the Credit card settings screen, matching Multibanco and MB WAY, so that the new Credit Card orders recovery new settings work properly - [DEV] Add
creditcard_ifthen_order_initial_status_pendingandgateway_ifthen_order_initial_status_pendingfilters, matching the existing MB WAY and Cofidis Pay filters, to set orders as “on-hold” instead of “pending” right from checkout - [DEV] Improve ifthenpay Gateway error handling when requesting a new payment
- [DEV] Add Playwright end-to-end test suite for WooCommerce Blocks checkout
- [DEV] Remove WooCommerce lower than 8.6 check for the logging settings description
- [DEV] Bump the “coming soon” version thresholds in the old technology admin notice to PHP 8.0, WordPress 6.7, and WooCommerce 9.6, now that the previous thresholds are already below the plugin’s actual requirements
- [DEV] Requires PHP 7.4, WordPress 6.4, and WooCommerce 9.0
- [DEV] Tested up to WordPress 7.1-alpha-62745 and WooCommerce 10.9.4
11.6.0 – 2026-05-23
- [NEW] Plugin ownership transferred from Marco Almeida | Webdados to Naked Cat Plugins on WordPress.org – No worries, we’re the same people 🙂
- [TWEAK] Increase the interval for showing new methods notifications to each user from 180 to 365 days
- [TWEAK] Replace “PT Woo Plugins” reference with “Naked Cat Plugins” in the settings sidebar
- [TWEAK] Improve our gateways visibility on the payments settings screen
- [FIX] Added capability check to MB WAY re-send payment request AJAX handler
- [FIX] Replaced MD5-based secret key generation with
wp_generate_password()for better randomness across all gateways - [FIX] Replaced temporary secret generation with
wp_generate_password()for better randomness in redirect-based gateways - [FIX] Fixed
$_SERVER['REMOTE_ADDR']mutation in IP detection code - [FIX] Fixed nonce sanitization in AJAX handlers (extract nonce before verification)
- [FIX] Added correct spelling of credit card filter wrapper for backwards compatibility
- [FIX] Replaced floating-point amount comparisons with string-based comparisons using 2-decimal formatting to prevent precision errors
- [DEV] Development moved to the Naked Cat Plugins organization GitHub account
- [DEV] Tested up to WordPress 7.1-alpha-62404 and WooCommerce 10.6.1
11.5.3 – 2026-03-15
- [TWEAK] Remove anti-phishing key from debug logs
- [DEV] Tested up to WordPress 7.0-beta5 and WooCommerce 10.8.0-beta.2
11.5.2 – 2026-03-02
- [TWEAK] Unify some strings
- [DEV] New
cofidispay_ifthen_order_initial_status_pendinghook to which returning false will set Cofidis Pay orders On hold instead of Pending - [DEV] Tested up to WordPress 7.0-beta2-61777 and WooCommerce 10.6.0-beta.1
11.5.1 – 2026-02-24
- [TWEAK] Retouch some SVG icons
- [FIX] “Deprecated: Creation of dynamic property notices” for the new “icon path” properties introduced in 11.5.0
11.5.0 – 2026-02-23
- [TWEAK] Expose icons paths to PRO add-on 6.0 so it can render the new “ifthenpay Payment Logos” block and shortcode
- [FIX] Polylang home url for callbacks and return URLs for Credit card, ifthenpay gateway and Cofidispay (can be disabled by passing
falseto theifthen_fix_polylang_home_urlfilter) - [DEV] Tested up to WordPress 7.0-beta1-61715 and WooCommerce 10.5.2
11.4.1 – 2026-02-10
- [TWEAK] Allow PRO add-on 5.8 to cancel or convert to Multibanco expired MB WAY orders after 20 minutes of expiration
- [DEV] Tested up to WordPress 7.0-alpha-61605 and WooCommerce 10.5.1
11.4.0 – 2026-01-21
- [TWEAK] Order note and debug (including email) when order is found by callback, but not in pending statuses (for example, already paid or cancelled)
- [TWEAK] Add “ifthenpay” to all the “payment received” order notes
- [DEV] Better debug when arguments are missing on the callback requested URL
- [DEV] Tested up to WordPress 7.0-alpha-61594 and WooCommerce 10.5.0
11.3.2 – 2026-01-21
- [FIX] Add an empty function to the
wc_ifthen_hourly_cronscheduled action to avoid loop issues on Action Scheduler, introduced on 11.3.0, and clear its failed logs (Thanks BestSites.pt for reporting) - [DEV] Move global upgrade routines from the Multibanco to the main plugin class
11.3.1 – 2026-01-15
- [DEV] Remove unnecessary development folders from the repository
11.3.0 – 2026-01-14
- [DEV] New
mbway_ifthen_checkout_phone_field_max_width_break_fieldsfilter to override the container maximum width after which the MB WAY classic checkout fields country code and phone number show up in separate lines, instead of side by side. Default:400px - [DEV] Replace hourly WP cron with Action Scheduler
- [TWEAK] Normalize MB WAY payment date/time received on the callback to ISO format
- [FIX] Callback URL output on the callback activation section on each payment method
- [DEV] Tested up to 7.0-alpha-61480 and WooCommerce 10.4.3
11.2.1 – 2025-10-30
- [FIX] Debug errors to email when requesting Multibanco or MB Way payments to ifthenpay
- [TWEAK] Small readme.txt adjustments
- [TWEAK] Replace “homebanking” with “home banking”
- [DEV] Tested up to WordPress 6.9-beta2-61087 and WooCommerce 10.3.3
11.2.0 – 2025-10-20
- [TWEAK] Display payment method icons on the backend
- [TWEAK] Better UX on the country code and phone number fields on the blocks checkout
- [TWEAK] Remove old method of callback activation via email
- [FIX] Display correct translated payment gateway title and description on the blocks checkout if WPML is active
- [DEV] Tested up to WordPress 6.9-alpha-60939 and WooCommerce 10.3.0-rc.1
11.1.0 – 2025-09-22
- [DEV] Change some remaining
wc_get_orderscalls to our internal wrapper - [DEV] Use WooCommerce internal method to get international calling codes for MB WAY numbers
- [DEV] Fix version upgrade routine
- [DEV] Remove autoload from some options
- [DEV] Tested up to WordPress 6.9-alpha-60789 and WooCommerce 10.2.1
11.0.0 – 2025-09-11
- [NEW] It’s now possible to use international phone numbers for MB WAY (can be disabled on the payment method options)
- [DEV] Use ifthenpay’s MB WAY most recent API endpoint
- [DEV] Compare values with two decimal places when checking for a possible order value change
- [DEV] Tested up to WordPress 6.9-alpha-60725 and WooCommerce 10.2.0-beta.2
10.5.0 – 2025-08-19
- [TWEAK] New payment method notices are now only shown every 180 days for each admin or shop manager user, and this is now handled by user meta and not a transient, because in some setups because transients are cleared when the cache is cleared
- [FIX] Store MB KEY on the order meta when saving the Multibanco payment details
- [DEV] Debug (extra) time it took on each API call
- [DEV] Tested up to WordPress 6.9-alpha-60645 and WooCommerce 10.1.0
10.4.1 – 2025-05-22
- [FIX] Check for WooCommerce version before declaring HPOS and Blocks checkout compatibility
- [DEV] Tested up to WordPress 6.9-alpha-60243 and WooCommerce 9.9.0-beta.1
10.4.0 – 2025-05-03
- [TWEAK] New payment method notices are now only shown every 90 days for each admin or shop manager user (they can also be dismissed by returning
trueto themultibanco_ifthen_hide_newmethod_notificationsfilter)
10.3.0 – 2025-04-12
- [NEW] We are now called Naked Cat Plugins 😻
- [DEV] Update Multibanco API URL
- [DEV] Update Cofidis API URL
- [DEV] New
mbway_ifthen_after_process_paymenthook (action) - [TWEAK] PRO add-on 5.1: Only save MBWAY number to user profile if the request payment API call to ifthenpay is successfully
- [DEV] Tested up to WordPress 6.8-RC3-60146 and WooCommerce 9.8.1
10.2.1 – 2025-03-17
- [DEV] Stop trying to fix the email locale with WPML active because it was causing the language to be incorrect (can be reactivated by returning
truetomultibanco_ifthen_maybe_change_email_localefilter) - [TWEAK] Reuse several i18n strings on all the payment methods with placeholders
- [DEV] Tested up to WordPress 6.8-beta2-59993 and WooCommerce 9.8.0-beta.1
10.1.0 – 2025-01-15
- [FIX] Callback calls failing for values under 1.00 Euro
- [FIX] Set Payshop expiration at the end of the day
- [DEV] Tested up to WordPress 6.8-alpha-59604 and WooCommerce 9.6.0-rc.1
10.0.2 – 2025-01-13
- [FIX] PHP notice on the
multibanco_ifthen_thankyou_instructions_table_htmlfilter
10.0.1 – 2025-01-07
- [FIX] New payment method admin notices not showing properly
10.0.0 – 2025-01-06
- [NEW] Apple Pay, Google Pay, and PIX payment methods (via ifthenpay Gateway)
- [NEW] Plugin name: Multibanco, MB WAY, Credit card, Apple Pay, Google Pay, Payshop, Cofidis Pay, and PIX (ifthenpay) for WooCommerce
- [NEW] Credit card callback as a fallback in case something fails when the customer returns from the gateway
- [NEW] Developer filters to manipulate the payment method data for each method on the blocks checkout, for example to change the icon
- [TWEAK] Also reload the “Thank you” page when the MB WAY payment has expired
- [TWEAK] Better cache busting when reloading the “Thank you” page
- [TWEAK] Resize the payment methods banner on the order admin page
- [TWEAK] Replace “IfthenPay” with “ifthenpay” for branding coherence
- [TWEAK] Better information for refunds not issued
- [TWEAK] Several updates to the readme.txt
- [FIX] Make sure all the values are sent to the ifthenpay API with “.” as a decimal separator, even in bizarre PHP setups
- [FIX] Hide settings fields on each method when the required keys are not set
- [DEV] New
refund_ifthen_api_timeoutdeveloper filter - [DEV] Apply additional WordPress Coding Standards
- [DEV] Requires PHP 7.2, WordPress 5.8, and WooCommerce 7.1
- [DEV] Tested up to WordPress 6.8-alpha-59576 and WooCommerce 9.6.0-beta.1
9.7.1 – 2024-11-29
- [FIX] Fix MB WAY and Cofidis order status check on the “Thank you” for non-logged in customers
9.7 – 2024-11-26
- [TWEAK] Change MB WAY timeout from 5 to 4 minutes (which is the real interval set by SIBS)
- [TWEAK] Better “refund not issued” message
- [FIX] Check order object before saving Multibanco details on the classic checkout
- [DEV] Change default webservices timeout to 15 seconds instead of 30
- [DEV] Tested up to WordPress 6.8-alpha-59459 and WooCommerce 9.5.0-beta.1
9.6.0 – 2024-10-08
- [FIX] Load text domain at the right time to avoid PHP notices on WordPress 6.7 and above
- [DEV] Tested up to WordPress 6.7-beta1-59184 and WooCommerce 9.4.0-beta.2
9.5.0 – 2024-09-19
- [FIX] Get the Multibanco reference earlier on the blocks checkout so that we can throw the error before hitting the “Thank you” page
- [TWEAK] Try to get MB WAY phone number from
$_REQUESTif not found in$_POSTfor edge scenarios - [TWEAK] Refactor code to set initial order status, order note and payment request errors
- [TWEAK] Update readme.txt FAQ information about 404 callback error because of specific permalink settings
- [DEV] Tested up to WordPress 6.7-alpha-59064 and WooCommerce 9.3.2
9.4.4 – 2024-07-16
- [TWEAK] Implement hook on the MB WAY payment gateway needed by PRO add-on 4.1
- [DEV] Tested up to WordPress 6.7-alpha-58848 and WooCommerce 9.2.0-beta.1
9.4.3 – 2024-07-16
- [TWEAK] Implement hook on the MB WAY settings screen needed by the PRO add-on 4.0
- [DEV] Tested up to WordPress 6.6-RC4-58723 and WooCommerce 9.1.2
9.4.2 – 2024-06-27
- [TWEAK] Add the order as second argument for the
creditcard_ifthen_cancel_order_on_backfilter
9.4.1 – 2024-06-26
- [TWEAK] The order is now not canceled when hitting “Back” on the credit card gateway, and the user is redirected to the checkout. The old behavior can be activated by returning
truetocreditcard_ifthen_cancel_order_on_back. - [TWEAK] Change Cofidis Pay “payment received” text to better explain the payment was pre-approved and that the shop owner still needs to submit documentation to Cofidis before processing the order.
- [DEV] Tested up to WordPress 6.6-RC1-58573 and WooCommerce 9.1.0-beta.1
9.4.0 – 2024-06-05
- [FIX] Error notice on the block-based checkout when returning from the Cofidis Pay gateway without success
- [TWEAK] Remove .pot file from the repository
- [TWEAK] Include source files for payment gateway blocks
- [DEV] Tested up to WordPress 6.6-beta1 and WooCommerce 9.0.0-rc.1
9.3.0 – 2024-05-22
- [NEW]
ifthen_allow_settings_woocommerce_not_eurofilter to allow setting up the payment gateways even if the shop currency is not set to Euro – For multi-currency shops - [FIX] Deprecation notices “Creation of dynamic property” on PHP 8.2 and above
- [FIX] Cofidis Pay return without Success attribute on the callback URL
- [TW
Follow this listing's changes (Atom feed)