src/Core/PaymentGateway.php
public function setCallbacks($order)
    {
        $this->callbackSuccess = route(config('shop.callback_route'), [
            'status'    => 'success',
            'id'        => $order->id,
            'token'     => $this->token,
        ]);

        $this->callbackFail    = route(config('shop.callback_route'), [
            'status'    => 'fail',
            'id'        => $order->id,
            'token'     => $this->token,
        ]);
    }
public function setCallbacks($order)
    {
        $this->callbackSuccess = route(config('shop.callback_route'), [
            'status'    => 'success',
            'id'        => $order->id,
            'token'     => $this->token,
        ]);

        $this->callbackFail    = route(config('shop.callback_route'), [
            'status'    => 'fail',
            'id'        => $order->id,
            'token'     => $this->token,
        ]);
    }
public function setCallbacks ( $ order ) { $ this -> callbackSuccess = route ( config ( 'shop.callback_route' ) , [ 'status' => 'success' , 'id' => $ order -> id , 'token' => $ this -> token , ] ) ; $ this -> callbackFail = route ( config ( 'shop.callback_route' ) , [ 'status' => 'fail' , 'id' => $ order -> id , 'token' => $ this -> token , ] ) ; }
Sets callback urls

@param Order $order Order.
Sets callback urls