buybox / giftcard-payment-magento2
BuyBox GiftCard Payment integration with Magento 2
Installs: 11 102
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 3
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.4.0||~8.1.0||~8.2.0
- magento/framework: >=103.0.0
- magento/module-checkout: >=100.4.0
- magento/module-payment: >=100.4.0
- magento/module-sales: >=103.0.0
README
BuyBox Gift Card payment gateway integration module for Magento 2.
Technical feature
⚠️ Magento versions compatibility :
Which version should I use ?
Magento Version | BuyBox Payment Version | Install |
---|---|---|
Magento 2.4.x Opensource (CE) && Enterprise Edition (EE) | BuyBox Payment 2.4.x | composer require buybox/giftcard-payment-magento2 ~2.4.0 |
Magento 2.3.x Opensource (CE) && Enterprise Edition (EE) | BuyBox Payment 2.3.x | composer require buybox/giftcard-payment-magento2 ~2.3.0 |
Magento 2.2.x Opensource (CE) && Enterprise Edition (EE) | BuyBox Payment 2.2.x | composer require buybox/giftcard-payment-magento2 ~2.2.0 |
Magento 2.1.x Opensource (CE) && Enterprise Edition (EE) | BuyBox Payment 2.1.x | composer require buybox/giftcard-payment-magento2 ~2.1.0 |
Magento 2.0.x Opensource (CE) && Enterprise Edition (EE) | BuyBox Payment 2.0.x | composer require buybox/giftcard-payment-magento2 ~2.0.0 |
Installing
Using Composer
The easiest way to install the extension is to use Composer:
$ composer require buybox/giftcard-payment-magento2 $ bin/magento module:enable BuyBox_Payment $ bin/magento setup:upgrade $ bin/magento setup:di:compile $ bin/magento setup:static-content:deploy
Module configuration
- Package details composer.json.
- Module configuration details (sequence) in module.xml.
- Module configuration available through Stores->Configuration system.xml
Payment gateway module depends on Sales
, Payment
and Checkout
Magento modules. For more module configuration
details, please look
through module development docs.
Gateway configuration
On the next step, we might specify gateway domain configuration in config.xml.
Let's look into configuration attributes:
debug
enables debug mode by default, e.g log for request/responseactive
is payment active by defaultmodel
Payment Method Facade
used for integration withSales
andCheckout
modulesmerchant_gateway_key
encrypted merchant credentialorder_status
default order statuspayment_action
default action of paymenttitle
default title for a payment methodcurrency
supported currencycan_authorize
whether payment method supports authorizationcan_capture
whether payment method supports capturecan_void
whether payment method supports voidcan_use_checkout
checkout availabilityis_gateway
is an integration with gatewaysort_order
payment method order position on checkout/system configuration pagesdebugReplaceKeys
request/response fields, which will be masked in logpaymentInfoKeys
transaction request/response fields displayed on payment information blockprivateInfoKeys
paymentInfoKeys fields which should not be displayed in customer payment information block
Dependency Injection configuration
To get more details about dependency injection configuration in Magento 2, please see DI docs.
In a case of Payment Gateway, DI configuration is used to define pools of Gateway Commands
with related infrastructure
and to configure Payment Method Facade
(used by Sales
and Checkout
modules to perform commands)