mobile payment api needs to get phone number and order total to send sms to customers phone number.
the module is same as bank transfer but customer should post his phone number from bank_transfer.tpl.
i copied bank transfer module and renamed it to mobile payment
but i cant achive to post and get data
Code: Select all
$this->load->model('checkout/order');
if (isset($this->request->post['telefon'])) {
$telefon = $this->request->post['telefon'];
} else {
$telefon = '';
}
$comment = $this->language->get('text_instruction') . "\n\n";
$comment .= $this->config->get('mobil_odeme_bank_' . $this->config->get('config_language_id')) . "\n\n";
$comment .= $this->language->get('text_payment');
$comment .= $this->request->post['telefon'];
is there anyone can tell me what should i do?