BuyBox Gift Card payment gateway integration module for Magento 2.
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 |
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
- 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.
On the next step, we might specify gateway domain configuration in config.xml.
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
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)