src/SecucardConnect/Product/Payment/Service/PaymentService.php
public function initSubsequent($paymentId, $amount, array $basket)
    {
        $class = $this->resourceMetadata->resourceClass;
        /**
         * @var $object Transaction
         */
        $object = new $class();
        $object->id = $paymentId;
        $object->amount = $amount;
        $object->basket = $basket;
        $res = $this->execute($paymentId, 'subsequent', null, $object, $class);

        if ($res) {
            return true;
        }

        return false;
    }
public function initSubsequent($paymentId, $amount, array $basket)
    {
        $class = $this->resourceMetadata->resourceClass;
        /**
         * @var $object Transaction
         */
        $object = new $class();
        $object->id = $paymentId;
        $object->amount = $amount;
        $object->basket = $basket;
        $res = $this->execute($paymentId, 'subsequent', null, $object, $class);

        if ($res) {
            return true;
        }

        return false;
    }
public function initSubsequent ( $ paymentId , $ amount , array $ basket ) { $ class = $ this -> resourceMetadata -> resourceClass ; /**
         * @var $object Transaction
         */ $ object = new $ class ( ) ; $ object -> id = $ paymentId ; $ object -> amount = $ amount ; $ object -> basket = $ basket ; $ res = $ this -> execute ( $ paymentId , 'subsequent' , null , $ object , $ class ) ; if ( $ res ) { return true ; } return false ; }
Subsequent posting to a approved transaction. This can only be executed once per payment transaction.

@param string $paymentId The payment transaction id
@param int $amount The new total amount (max. 120% of the old amount)
@param Basket[] $basket The new basket items
@return bool TRUE if successful, FALSE otherwise.
@throws GuzzleException
@throws ApiError
@throws AuthError
@throws ClientError
Subsequent posting to a approved transaction . This can only be executed once per payment transaction .