Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
61.88 KB
MD5: 087db54a9975bae79f57c9a710c1c318
SHA-1: b9d8b526e8bf7c352e985adab1ea7f31a1f6c4e3
SHA-256: 2dc795cd15e33174d00fd6126a36258cebf065659b0d3a0a924237430b8273ab
Download zip
105.77 KB
MD5: 93023245fa0a53d4ee10d8730ef2403a
SHA-1: ea8ad46e0c6021fe0e7b8c6df640fc9a069a45b6
SHA-256: 45887c0454b43abd887f1e14ddd320f15b15e2409814ae2081cfb01523780b25
Release notes
A fix for sites that installed MB WAY without the main module, the amount formatted in the payment instructions, and the code made ready for Drupal 12. Run drush updb after updating.
Bug fixes
- The MB WAY gateway could not load unless Commerce Ifthenpay was installed. MB WAY now depends on it, and an update installs it on sites that have MB WAY alone (#3617165).
- The payment instructions show the amount formatted for the store, such as 59,90 €, instead of 59.9 EUR. A theme that overrides
multibanco-instructions.html.twigormbway-instructions.html.twigshould apply thecommerce_price_formatfilter toamounttoo (#3617166).
Drupal 12 readiness
- Hooks are classes, the payment plugins are declared with attributes as well as annotations, and
Request::get(), removed in Symfony 8, is no longer used. Commerce 2 and 3 are both supported (#3617161).