/** * Registering transactions * @param string $amount * @param string $currency * @param string $clientIpAddr * @param string $description * @param string $language * start SMS transaction. This is simplest form that charges amount to customer instantly. * @return array TRANSACTION_ID * TRANSACTION_ID - transaction identifier (28 characters in base64 encoding) * error - in case of an error */ public function registerSmsTransaction($amount, $currency, $clientIpAddr, $description = '', $language = 'ru') { $args = ['command' => 'v', 'amount' => $amount, 'msg_type' => 'SMS', 'currency' => $currency, 'client_ip_addr' => $clientIpAddr, 'description' => $description, 'language' => $language]; return parent::registerSmsTransaction($args); }