Sms Add On

I am trying to use the SMS addon with Ckickatell and they tell me it will not work because I do not have "mo=1 (to activate the 2-way messaging)".

Where do I insert this?

Any help would be appreciated.

Probably in the function fn_send_sms_notification() in the file app/addons/sms_notifications/func.php.

Not investigating fully, I'd think it might need to be applied to the assignment to the $data array.

All of this is a guess and where I'd begin to research....

I am trying to use the SMS addon with Ckickatell and they tell me it will not work because I do not have "mo=1 (to activate the 2-way messaging)".

Where do I insert this?

Any help would be appreciated.

Does this mean that the module does not work for all CS-Cart customers?

Does this mean that the module does not work for all CS-Cart customers?

Clickatell is telling me for all US customers this must be used (mo=1). This activates the 2-way messaging. Clickatell does not offer 1-way messaging in the US. Also I believe you need to specify the LONG NUMBER assigned to you by Clickatell.

I don't think this addon works in the US.

Here is an example they gave me.

user=XXX&password=XXX&api_id=3470024&mo=1&from=15626615831&to=Destinationaddress&text=message+content

app/addons/sms_notifications/func.php

Try to replace the following part of the code

    $data = array('user' => $access_data['login'],
                  'password' => $access_data['password'],
                  'api_id' => $access_data['api_id'],
                  'to' => $to,
                  'concat' => $concat,
    );

with

    $data = array('user' => $access_data['login'],
                  'password' => $access_data['password'],
                  'api_id' => $access_data['api_id'],
                  'to' => $to,
                  'mo' => 1,
                  'concat' => $concat,
    );

I believe I still have to use the "long number" supplied by Clickatell.

from=15626615831

Did you try?

$data = array('user' => $access_data['login'],
                  'password' => $access_data['password'],
                  'api_id' => $access_data['api_id'],
                  'to' => $to,
                  'mo' => 1,
                  'concat' => $concat,
                  'from' => '15626615831'
    );