/** * This request fetches the list of payment cards registered by the selected user in Payture system. * * @return \stdClass */ public static function GetList() { return self::request("GetList", PaytureEWallet::EWALLET_API_PREFIX, array("VWID" => PaytureEWalletConfiguration::getMerchantKey(), "DATA" => self::stringify(array("VWUserLgn" => PaytureEWalletConfiguration::getVWUserLogin(), "VWUserPsw" => PaytureEWalletConfiguration::getVWUserPassword())))); }
/** * 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. * * @param string $orderId Payment ID in Merchant system * * @return \stdClass */ public static function PayStatus($orderId) { return self::request("PayStatus", PaytureEWallet::EWALLET_API_PREFIX, array("VWID" => PaytureEWalletConfiguration::getMerchantKey(), "DATA" => self::stringify(["OrderId" => $orderId]))); }