protected function updatePaymentTransactionOnSuccess(PaymentTransaction $paymentTransaction, Response $response)
    {
        $paymentTransaction->setStatus($response->getStatus());
        $this->setPaynetId($paymentTransaction, $response);
    }
protected function updatePaymentTransactionOnSuccess(PaymentTransaction $paymentTransaction, Response $response)
    {
        $paymentTransaction->setStatus($response->getStatus());
        $this->setPaynetId($paymentTransaction, $response);
    }
protected function updatePaymentTransactionOnSuccess ( PaymentTransaction $ paymentTransaction , Response $ response ) { $ paymentTransaction -> setStatus ( $ response -> getStatus ( ) ) ; $ this -> setPaynetId ( $ paymentTransaction , $ response ) ; }
Updates payment transaction by query response data
if payment transaction is processing or approved

@param       PaymentTransaction      $paymentTransaction     Payment transaction for updating
@param       Response                $response               Response for payment transaction updating
Updates payment transaction by query response data if payment transaction is processing or approved