blackbird / billmap-hyva-compatibility
Blackbird BillMap Payment Gateway Compatibility with Hÿva Checkout check https://store.bird.eu/ : to get a license of BillMap base module.
Package info
github.com/blackbird-agency/billmap-hyva-compatibility
Type:magento2-module
pkg:composer/blackbird/billmap-hyva-compatibility
Requires
- php: >=8.1
- blackbird/module-billmap-payment-gateway: ^1.0.2
- hyva-themes/magento2-hyva-checkout: ^1.3.6
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Compat module for Blackbird BillMap Payment Gateway (MTN Mobile Money) on Magento 2 using Hyvä Checkout. The BillMap payment method gets its form in Hyvä Checkout: instructions, phone number field and MTN Pay help, like on Luma. This requires:
- A Hyvä Checkout license
- A License to Blackbird BillMap Payment Gateway
Only the Hyvä Checkout layouts are changed; the Luma checkout is not affected.
Requirements
- PHP >= 8.1
- Hÿva Checkout: ^1.3.6
- Blackbird BillMap Payment Gateway version: ^1.0.2
Behaviour in Hyvä Checkout
- The method is only offered when the order currency is the one of the BillMap configuration (
XOFby default), as with the base module. - The phone number field is prefilled with the telephone of the billing address (else of the shipping address).
- The number is required and checked against the "MSISDN regex pattern" of the configuration; the order cannot be placed while it is empty or invalid. With an empty or invalid pattern, only "required" is checked in the form, but the base module still checks the number with that pattern when the order is placed.
- The number is kept when the customer selects another payment method and comes back.
- Payment request, notification (IPN) and order statuses are those of the base module.
Setup
Get the package
Composer Package:
composer require blackbird/billmap-hyva-compatibility
Zip Package: Unzip the package in app/code/Blackbird/BillMapHyvaCompatibility, from the root of your Magento instance.
Install the module
Go to your Magento root directory and run the following magento commands:
php bin/magento setup:upgrade
php bin/magento hyva:config:generate
Then rebuild the Tailwind CSS of your Hyvä theme (npm run build in web/tailwind) so the module's templates are
included.
Support
- If you have any issue with this code, feel free to open an issue.
- If you want to contribute to this project, feel free to create a pull request.
Contact
For further information, contact us:
- by email: support@bird.eu
- or by form: https://black.bird.eu/en/contacts/
Authors
- Blackbird Team - Maintainer -
License
This project is licensed under the MIT License - see the LICENSE file for details.
That's all folks!