Skip to content

Commit

Permalink
1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Aug 15, 2017
1 parent 8c6b63b commit b08daa9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion W/Event/Charge/Capture.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ final class Capture extends \Dfe\Omise\W\Event {
* @override
* @see \Df\StripeClone\W\Event::ttCurrent()
* @used-by \Df\StripeClone\W\Event::id()
* @used-by \Df\StripeClone\W\Strategy\ConfirmPending::action()
* @used-by \Df\Payment\W\Strategy\ConfirmPending::action()
* @return string
*/
function ttCurrent() {return self::T_CAPTURE;}
Expand Down
2 changes: 1 addition & 1 deletion W/Event/Charge/Complete.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function isPending() {return dfc($this, function() {return
* @override
* @see \Df\StripeClone\W\Event::ttCurrent()
* @used-by \Df\StripeClone\W\Event::id()
* @used-by \Df\StripeClone\W\Strategy\ConfirmPending::action()
* @used-by \Df\Payment\W\Strategy\ConfirmPending::action()
* @return string
*/
function ttCurrent() {return $this->isPending() ? self::T_AUTHORIZE : self::T_CAPTURE;}
Expand Down
2 changes: 1 addition & 1 deletion W/Event/Refund.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function idBase() {return $this->ro('id');}
* @override
* @see \Df\StripeClone\W\Event::ttCurrent()
* @used-by \Df\StripeClone\W\Event::id()
* @used-by \Df\StripeClone\W\Strategy\ConfirmPending::action()
* @used-by \Df\Payment\W\Strategy\ConfirmPending::action()
* @return string
*/
function ttCurrent() {return self::T_REFUND;}
Expand Down
2 changes: 1 addition & 1 deletion W/Handler/Charge/Capture.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
namespace Dfe\Omise\W\Handler\Charge;
use Df\StripeClone\W\Strategy\CapturePreauthorized as Strategy;
use Df\Payment\W\Strategy\CapturePreauthorized as Strategy;
// 2017-01-17
// Оповещение «charge.capture» приходит
// при выполнении операции «capture» из административного интерфейса Omise.
Expand Down
4 changes: 2 additions & 2 deletions W/Handler/Charge/Complete.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace Dfe\Omise\W\Handler\Charge;
use Df\StripeClone\W\Strategy\ConfirmPending as A;
use Df\StripeClone\W\Strategy\CapturePreauthorized as C;
use Df\Payment\W\Strategy\ConfirmPending as A;
use Df\Payment\W\Strategy\CapturePreauthorized as C;
// 2017-01-12
// Это событие используется только в сценарии 3D Secure
// и означает успешность завершения проверки 3D Secure:
Expand Down
12 changes: 6 additions & 6 deletions W/Handler/Refund/Create.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?php
namespace Dfe\Omise\W\Handler\Refund;
use Df\StripeClone\W\Strategy\Refund as Strategy;
use Df\Payment\W\Strategy\Refund as Strategy;
// 2017-01-17
// Оповещение «refund.create» приходит
// при выполнении операции «refund» из административного интерфейса Omise.
// https://www.omise.co/api-webhooks#refund-events
// 2017-02-14
// An example of this event: https://mage2.pro/t/2748
final class Create extends \Df\StripeClone\W\Handler implements \Df\StripeClone\W\IRefund {
final class Create extends \Df\StripeClone\W\Handler implements \Df\Payment\W\IRefund {
/**
* 2017-01-17
* В валюте заказа (платежа), в формате платёжной системы (копейках).
* @override
* @see \Df\StripeClone\W\IRefund::amount()
* @used-by \Df\StripeClone\W\Strategy\Refund::_handle()
* @see \Df\Payment\W\IRefund::amount()
* @used-by \Df\Payment\W\Strategy\Refund::_handle()
* @return int
*/
function amount() {return $this->e()->ro('amount');}
Expand All @@ -27,8 +27,8 @@ function amount() {return $this->e()->ro('amount');}
* Это должен быть тот же самый идентификатор,
* который возвращает @see \Dfe\Omise\Facade\Refund::transId()
* @override
* @see \Df\StripeClone\W\IRefund::eTransId()
* @used-by \Df\StripeClone\W\Strategy\Refund::_handle()
* @see \Df\Payment\W\IRefund::eTransId()
* @used-by \Df\Payment\W\Strategy\Refund::_handle()
* @return string
*/
function eTransId() {return $this->e()->ro('transaction');}
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/omise"
,"version": "1.9.1"
,"version": "1.9.2"
,"description": "The «Omise» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/omise"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.9.1", "omise/omise-php": "^2.5.0"}
,"require": {"mage2pro/core": ">=2.10.21", "omise/omise-php": "^2.5.0"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Omise\\": ""}}
,"keywords": [
"3D Secure"
Expand Down

0 comments on commit b08daa9

Please sign in to comment.