src/ClearSaleID/Service/Analysis.php
public function analysis( OrderRequest $order )
    {
        $packageStatus = $this->integration->sendOrder( $order );

        if (!$packageStatus->isSuccessful()) {
            throw new Exception( sprintf( 'Transaction Failed! (statusCode: %s)', $packageStatus->getStatusCode() ) );
        }

        return $this->checkOrderStatus( $order->getId() );
    }
public function analysis( OrderRequest $order )
    {
        $packageStatus = $this->integration->sendOrder( $order );

        if (!$packageStatus->isSuccessful()) {
            throw new Exception( sprintf( 'Transaction Failed! (statusCode: %s)', $packageStatus->getStatusCode() ) );
        }

        return $this->checkOrderStatus( $order->getId() );
    }
Método para envio de pedidos e retorno do status

@param  \RodrigoPedra\ClearSaleID\Entity\Request\Order $order

@return string
@throws \Exception