Markette\Gopay\Service\RecurrentPaymentService::cancelRecurrent PHP Метод

cancelRecurrent() публичный Метод

Cancel recurrent payment via GoPay gateway
public cancelRecurrent ( float $paymentSessionId ) : void
$paymentSessionId float
Результат void
    public function cancelRecurrent($paymentSessionId)
    {
        try {
            $this->gopay->soap->voidRecurrentPayment($paymentSessionId, $this->gopay->config->getGopayId(), $this->gopay->config->getGopaySecretKey());
        } catch (Exception $e) {
            throw new GopayException($e->getMessage(), 0, $e);
        }
    }