Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Sms Add On Rate Topic   - - - - -

 
  • hglu
  • Advanced Member
  • Members
  • Join Date: 31-Oct 13
  • 116 posts

Posted 08 June 2017 - 01:49 PM #1

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.

 



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11392 posts

Posted 08 June 2017 - 08:49 PM #2

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....


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19775 posts

Posted 09 June 2017 - 05:19 AM #3

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?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • hglu
  • Advanced Member
  • Members
  • Join Date: 31-Oct 13
  • 116 posts

Posted 09 June 2017 - 02:44 PM #4

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
 


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19775 posts

Posted 13 June 2017 - 06:00 AM #5

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,
    );

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • hglu
  • Advanced Member
  • Members
  • Join Date: 31-Oct 13
  • 116 posts

Posted 17 June 2017 - 11:57 AM #6

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

from=15626615831



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19775 posts

Posted 19 June 2017 - 05:41 AM #7

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'
    );

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.