We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit aeb28511 authored by rikterbeek's avatar rikterbeek

#18 allow Adyen_HPP and Adyen_POS to online capture payment

parent 6aec24ea
...@@ -55,17 +55,14 @@ class Hpp extends \Magento\Payment\Model\Method\AbstractMethod implements Gatewa ...@@ -55,17 +55,14 @@ class Hpp extends \Magento\Payment\Model\Method\AbstractMethod implements Gatewa
* *
* @var bool * @var bool
*/ */
protected $_isGateway = true;
protected $_canAuthorize = true; protected $_canAuthorize = true;
protected $_isInitializeNeeded = true; protected $_canCapture = true;
protected $_canCapturePartial = true;
protected $_canCaptureOnce = true;
protected $_canRefund = true; protected $_canRefund = true;
protected $_canRefundInvoicePartial = true; protected $_canRefundInvoicePartial = true;
protected $_isGateway = true;
/** protected $_isInitializeNeeded = true;
* Payment Method feature
*
* @var bool
*/
protected $_canUseInternal = false; protected $_canUseInternal = false;
......
...@@ -49,23 +49,19 @@ class Pos extends \Magento\Payment\Model\Method\AbstractMethod implements Gatewa ...@@ -49,23 +49,19 @@ class Pos extends \Magento\Payment\Model\Method\AbstractMethod implements Gatewa
protected $_infoBlockType = 'Adyen\Payment\Block\Info\Pos'; protected $_infoBlockType = 'Adyen\Payment\Block\Info\Pos';
/** /**
* Payment Method feature * Payment Method feature
* *
* @var bool * @var bool
*/ */
protected $_isGateway = true;
protected $_canAuthorize = true; protected $_canAuthorize = true;
protected $_isInitializeNeeded = true; protected $_canCapture = true;
protected $_canCapturePartial = true;
protected $_canCaptureOnce = true;
protected $_canRefund = true; protected $_canRefund = true;
protected $_canRefundInvoicePartial = true; protected $_canRefundInvoicePartial = true;
protected $_isGateway = true;
/** protected $_isInitializeNeeded = true;
* Payment Method feature
*
* @var bool
*/
protected $_canUseInternal = false; protected $_canUseInternal = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment