buybox / giftcard-payment-magento2
BuyBox GiftCard Payment integration with Magento 2
Installs: 20 649
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 1
Type:magento2-module
pkg:composer/buybox/giftcard-payment-magento2
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:
debugenables debug mode by default, e.g log for request/responseactiveis payment active by defaultmodelPayment Method Facadeused for integration withSalesandCheckoutmodulesmerchant_gateway_keyencrypted merchant credentialorder_statusdefault order statuspayment_actiondefault action of paymenttitledefault title for a payment methodcurrencysupported currencycan_authorizewhether payment method supports authorizationcan_capturewhether payment method supports capturecan_voidwhether payment method supports voidcan_use_checkoutcheckout availabilityis_gatewayis an integration with gatewaysort_orderpayment method order position on checkout/system configuration pagesdebugReplaceKeysrequest/response fields, which will be masked in logpaymentInfoKeystransaction request/response fields displayed on payment information blockprivateInfoKeyspaymentInfoKeys 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)