Hi,
Can anyone help me to convert the attached OSC addon to Use with ZC 1.5.0
Vinod
Hi,
Can anyone help me to convert the attached OSC addon to Use with ZC 1.5.0
Vinod
.
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.
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.
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?
Thanks in AdvancePHP Code:
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
Vinod
Bookmarks