REMOVES_SMS_TEST
This commit is contained in:
parent
3a042dceba
commit
d68674377b
@ -508,18 +508,18 @@ public function paymentStatus(){
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testSMS(){
|
// public function testSMS(){
|
||||||
$mobile_number = '916382156701';
|
// $mobile_number = '916382156701';
|
||||||
$name = "Srinivas";
|
// $name = "Srinivas";
|
||||||
$expiryDate = "10/10/2025";
|
// $expiryDate = "10/10/2025";
|
||||||
$link = "https://bit.ly/44Iy4Zm";
|
// $link = "https://bit.ly/44Iy4Zm";
|
||||||
|
|
||||||
// Exactly matching the approved template
|
// // Exactly matching the approved template
|
||||||
$message = "Hi {$name}, your subscription for Pusthakam scheme is about to expire on {$expiryDate}. Renew now to continue enjoying our books for one more year. Tap here to renew: {$link} -Vijayabharatham Prasuram";
|
// $message = "Hi {$name}, your subscription for Pusthakam scheme is about to expire on {$expiryDate}. Renew now to continue enjoying our books for one more year. Tap here to renew: {$link} -Vijayabharatham Prasuram";
|
||||||
|
|
||||||
$status = $this->sendSMSHelper->sendSMS($message,$mobile_number);
|
// $status = $this->sendSMSHelper->sendSMS($message,$mobile_number);
|
||||||
echo $status;
|
// echo $status;
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -105,7 +105,7 @@ class SendSMSHelper
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function saveSMSHistory($output,$mobile_number,$message,$campaignID = null,$membershipID){
|
public function saveSMSHistory($output,$mobile_number,$message,$campaignID = null,$membershipID = null){
|
||||||
|
|
||||||
$where = [
|
$where = [
|
||||||
'mobile_no' => $mobile_number,
|
'mobile_no' => $mobile_number,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user