Post by tarkanlar » Sat Oct 02, 2010 7:13 am

Hi, i am working on a mobile payment module.

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']; 
but ofcourse it is not working
is there anyone can tell me what should i do?

New member

Posts

Joined
Sun Nov 22, 2009 8:17 am
Who is online

Users browsing this forum: Amazon [Bot] and 3 guests