New Zenner
- Join Date:
- Jul 2012
- Location:
- Kochi,Kerala
- Posts:
- 58
- Plugin Contributions:
- 2
SMS on Sale using clickatel
Hi,
Can anyone help me to convert the attached OSC addon to Use with ZC 1.5.0
Vinod
Views: 2,543
New Zenner
Hi,
Can anyone help me to convert the attached OSC addon to Use with ZC 1.5.0
Vinod
Sensei
New Zenner
DrByte:
its using email to SMS method, According to my knowldge no-Service providers in India is giving email to SMS, thats why I insisted to converting this OSC addon
Sensei
But it has the framework; all you need to do is bring the clickatel logic over to replace the email logic.
New Zenner
DrByte:
But it has the framework; all you need to do is bring the clickatel logic over to replace the email logic.
Thank you for the ignition DrByte, I am about to finish my second contribution to send sms using http API of service Provider. some finishing touches are pending
New Zenner
While I am adding the following code in Admin>Orders.php its not working(Not receiving SMS) t!. But its successfully working on Catalog side, Can you specity whats the cause?
zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');
// BOF Send SMS to Customers on Order Status Change
$ch = curl_init();
$user=SMS_USER_ID;
$pass= SMS_PASSWORD;
$receipientno= $order->customer['telephone'];
$senderID=SMS_SENDER_ID;
$msgtxt= "Dear ".$check_status->fields['customers_name'] . ",\n Your Order # ".$oID." Has been".$orders_status_array[$status] ."Thank you for Shopping with ".STORE_NAME;
curl_setopt($ch,CURLOPT_URL,SMS_URL);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "user=$user:$pass&senderID=$senderID&receipientno=$receipientno&msgtxt=$msgtxt&state=1");
$buffer = curl_exec($ch);
curl_close($ch);
// EOF Send SMS to Customers on Order Status Change with status
Thanks in Advance
Vinod
New Zenner
vkd1980:
While I am adding the following code in Admin>Orders.php its not working(Not receiving SMS) t!. But its successfully working on Catalog side, Can you specity whats the cause?
no support for above problem :dontgetit
any way , I am uploading the catalog side as new plugin on 21-Aug-2012,
Tell staff why this post should be reviewed.