REMOVES_SMS_TEST
This commit is contained in:
parent
3a042dceba
commit
d68674377b
@ -508,18 +508,18 @@ public function paymentStatus(){
|
||||
|
||||
}
|
||||
|
||||
public function testSMS(){
|
||||
$mobile_number = '916382156701';
|
||||
$name = "Srinivas";
|
||||
$expiryDate = "10/10/2025";
|
||||
$link = "https://bit.ly/44Iy4Zm";
|
||||
// public function testSMS(){
|
||||
// $mobile_number = '916382156701';
|
||||
// $name = "Srinivas";
|
||||
// $expiryDate = "10/10/2025";
|
||||
// $link = "https://bit.ly/44Iy4Zm";
|
||||
|
||||
// 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";
|
||||
// // 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";
|
||||
|
||||
$status = $this->sendSMSHelper->sendSMS($message,$mobile_number);
|
||||
echo $status;
|
||||
}
|
||||
// $status = $this->sendSMSHelper->sendSMS($message,$mobile_number);
|
||||
// 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 = [
|
||||
'mobile_no' => $mobile_number,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user