src/Payum/LaravelPackage/PayumServiceProvider.php
protected function defineRoutes()
    {
        $route = $this->app->make('router');

        $route->any('/payment/authorize/{payum_token}', array(
            'as' => 'payum_authorize_do',
            'uses' => 'Payum\LaravelPackage\Controller\AuthorizeController@doAction'
        ));

        $route->any('/payment/capture/{payum_token}', array(
            'as' => 'payum_capture_do',
            'uses' => 'Payum\LaravelPackage\Controller\CaptureController@doAction'
        ));

        $route->any('/payment/refund/{payum_token}', array(
            'as' => 'payum_refund_do',
            'uses' => 'Payum\LaravelPackage\Controller\RefundController@doAction'
        ));

        $route->any('/payment/notify/{payum_token}', array(
            'as' => 'payum_notify_do',
            'uses' => 'Payum\LaravelPackage\Controller\NotifyController@doAction'
        ));

        $route->any('/payment/notify/unsafe/{gateway_name}', array(
            'as' => 'payum_notify_do_unsafe',
            'uses' => 'Payum\LaravelPackage\Controller\NotifyController@doUnsafeAction'
        ));
    }
protected function defineRoutes()
    {
        $route = $this->app->make('router');

        $route->any('/payment/authorize/{payum_token}', array(
            'as' => 'payum_authorize_do',
            'uses' => 'Payum\LaravelPackage\Controller\AuthorizeController@doAction'
        ));

        $route->any('/payment/capture/{payum_token}', array(
            'as' => 'payum_capture_do',
            'uses' => 'Payum\LaravelPackage\Controller\CaptureController@doAction'
        ));

        $route->any('/payment/refund/{payum_token}', array(
            'as' => 'payum_refund_do',
            'uses' => 'Payum\LaravelPackage\Controller\RefundController@doAction'
        ));

        $route->any('/payment/notify/{payum_token}', array(
            'as' => 'payum_notify_do',
            'uses' => 'Payum\LaravelPackage\Controller\NotifyController@doAction'
        ));

        $route->any('/payment/notify/unsafe/{gateway_name}', array(
            'as' => 'payum_notify_do_unsafe',
            'uses' => 'Payum\LaravelPackage\Controller\NotifyController@doUnsafeAction'
        ));
    }
protected function defineRoutes ( ) { $ route = $ this -> app -> make ( 'router' ) ; $ route -> any ( '/payment/authorize/{payum_token}' , array ( 'as' => 'payum_authorize_do' , 'uses' => 'Payum\LaravelPackage\Controller\AuthorizeController@doAction' ) ) ; $ route -> any ( '/payment/capture/{payum_token}' , array ( 'as' => 'payum_capture_do' , 'uses' => 'Payum\LaravelPackage\Controller\CaptureController@doAction' ) ) ; $ route -> any ( '/payment/refund/{payum_token}' , array ( 'as' => 'payum_refund_do' , 'uses' => 'Payum\LaravelPackage\Controller\RefundController@doAction' ) ) ; $ route -> any ( '/payment/notify/{payum_token}' , array ( 'as' => 'payum_notify_do' , 'uses' => 'Payum\LaravelPackage\Controller\NotifyController@doAction' ) ) ; $ route -> any ( '/payment/notify/unsafe/{gateway_name}' , array ( 'as' => 'payum_notify_do_unsafe' , 'uses' => 'Payum\LaravelPackage\Controller\NotifyController@doUnsafeAction' ) ) ; }
Define all package routes with Laravel router
Define all package routes with Laravel router