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
New Zenner
Hi,
Can anyone help me to convert the attached OSC addon to Use with ZC 1.5.0
Vinod
Sensei
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
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.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
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.