Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Commerce ifthenpay: Multibanco, MB WAY and credit card payments

Security covered Under active development 22 sites

Part of the Commerce ecosystem · 487 projects

This module integrates Ifthenpay as a payment gateway for Drupal Commerce, supporting MB WAY, MB Multibanco, and credit card payments. It allows customers to generate Multibanco references for their orders, enabling payment through Portugal's ATM network.

Drupal Commerce payment gateways for ifthenpay, the Portuguese payment provider: Multibanco references, MB WAY and credit card payments.

Multibanco references

  • Dynamic references via the ifthenpay REST API (recommended): references are generated by ifthenpay, with order ids up to 25 characters, no hashing and no reference collisions, optional expiry and a sandbox endpoint for testing. Requires the MB Key assigned by ifthenpay.
  • Offline generation from the entity/sub-entity pair, kept for backwards compatibility and for accounts without an MB Key.
  • Automatic payment confirmation via the ifthenpay callback, with anti-phishing key validation.
  • Generated reference details are recorded in the order activity log when Commerce Log is enabled.

MB WAY

  • Payment push sent to the customer's phone at checkout.
  • Storefront repayment endpoint: customers can re-send the push for an unpaid order from their order history (CSRF-protected and flood-controlled).
  • Admin-side payment creation that triggers a real push.

Credit card

  • Redirect-based card payments through ifthenpay.

Requirements

  • Drupal 10 or 11.
  • Commerce Core 2.x or 3.x.
  • An ifthenpay account with the credentials for the payment methods you enable.

Getting started

Each payment method is a sub-module; enable only what you need. Configuration, the callback URLs to register in the ifthenpay backoffice and troubleshooting are documented in the README.

Versions

Use the 3.0.x releases (Drupal 10 and 11). The 2.x branch is no longer supported: it predates the reference collision mitigation for high order ids, a problem the 3.0.x API mode eliminates entirely.

Credits

Developed and maintained by Bloomidea.

Drupal 10–11

Ask your assistant about Commerce ifthenpay: Multibanco, MB WAY and credit card payments

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Jun 2024
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.2 Stable 10–11 Sep 2, 2026
3.0.1 Stable 10–11 Aug 13, 2026
3.0.0 Stable 10–11 Jul 15, 2026
3.0.x-dev Dev 10–11 Oct 27, 2025
2.1.0 Stable 9–10 Jun 25, 2024