/** * This request retrieves information on current status of a payment. * It should also be used at discretion in case of Payture gateway not responding, * while other payment requests are being processed. * The request is used both in one-step and two-step payment schemes. * As a result of the request, the current payment status will be received. * * @param string $orderId Payment ID in Merchant system * * @return \stdClass */ public static function GetState($orderId) { return self::request("GetState", self::STANDARD_API_PREFIX, array("Key" => PaytureConfiguration::getMerchantKey(), "OrderId" => $orderId)); }
/** * This request retrieves information on current status of a payment. * It should also be used at discretion in case of Payture gateway not responding, * while other payment requests are being processed. * The request is used both in one-step and two-step payment schemes. * As a result of the request, the current payment status will be received. * * @param string $orderId Payment ID in Merchant system * * @return \stdClass */ public static function PayStatus($orderId) { return self::request("PayStatus", self::INPAY_API_PREFIX, array("Key" => PaytureConfiguration::getMerchantKey(), "OrderId" => $orderId)); }