function prepareParameters($params)
{
$default = array('service' => $this->service, 'partner' => $this->config['partner'], '_input_charset' => trim(strtolower($this->config['input_charset'])));
if (!$this->is_mobile) {
$default = array_merge($default, array('payment_type' => $this->config['payment_type'], 'seller_id' => $this->config['partner'], 'notify_url' => $this->config['notify_url']));
if (isset($this->config['return_url'])) {
$default['return_url'] = $this->config['return_url'];
}
}
$params = $this->filterSignParameter(array_merge($default, (array) $params));
ksort($params);
reset($params);
return $params;
}