Skip to content

kevin-blackbird/buybox-giftcard-payment-magento2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BuyBox Payment Module

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

  1. Package details composer.json.
  2. Module configuration details (sequence) in module.xml.
  3. 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/response
  • active is payment active by default
  • model Payment Method Facade used for integration with Sales and Checkout modules
  • merchant_gateway_key encrypted merchant credential
  • order_status default order status
  • payment_action default action of payment
  • title default title for a payment method
  • currency supported currency
  • can_authorize whether payment method supports authorization
  • can_capture whether payment method supports capture
  • can_void whether payment method supports void
  • can_use_checkout checkout availability
  • is_gateway is an integration with gateway
  • sort_order payment method order position on checkout/system configuration pages
  • debugReplaceKeys request/response fields, which will be masked in log
  • paymentInfoKeys transaction request/response fields displayed on payment information block
  • privateInfoKeys 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)

Contributors

Studiolab

License

Open Source License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 92.8%
  • JavaScript 3.3%
  • HTML 2.8%
  • CSS 1.1%