Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

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.

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
3
Tracked since
Oct 2025
Latest release
2 weeks ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
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