Skip to content

Commit

Permalink
Add actions
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Nov 3, 2017
1 parent 197e002 commit ff386e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/EcpayLogisticsGatewayFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
use Payum\Core\GatewayFactory;
use PayumTW\Ecpay\Action\SyncAction;
use Payum\Core\Bridge\Spl\ArrayObject;
use PayumTW\Ecpay\Action\CancelAction;
use PayumTW\Ecpay\Action\NotifyAction;
use PayumTW\Ecpay\Action\RefundAction;
use PayumTW\Ecpay\Action\StatusLogisticsAction;
use PayumTW\Ecpay\Action\CaptureLogisticsAction;
use PayumTW\Ecpay\Action\Api\CreateTransactionAction;
Expand All @@ -22,6 +25,9 @@ protected function populateConfig(ArrayObject $config)
'payum.factory_name' => 'ecpay_logistics',
'payum.factory_title' => 'Ecpay Logistics',
'payum.action.capture' => new CaptureLogisticsAction(),
'payum.action.notify' => new NotifyAction(),
'payum.action.refund' => new RefundAction(),
'payum.action.cancel' => new CancelAction(),
'payum.action.sync' => new SyncAction(),
'payum.action.status' => new StatusLogisticsAction(),
'payum.action.convert_payment' => new ConvertPaymentLogisticsAction(),
Expand Down

0 comments on commit ff386e5

Please sign in to comment.