Activate actual sending of warranty SMS and change configuration to point to live DR URL #394
This commit is contained in:
parent
f384c5d940
commit
e123008061
2 changed files with 4 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ services:
|
||||||
$pass: "%env(RT_PASS)%"
|
$pass: "%env(RT_PASS)%"
|
||||||
$usage_type: "%env(RT_USAGE_TYPE)%"
|
$usage_type: "%env(RT_USAGE_TYPE)%"
|
||||||
$shortcode: "%env(RT_SHORTCODE)%"
|
$shortcode: "%env(RT_SHORTCODE)%"
|
||||||
$dr_url: "https://resqapi.jankstudio.com/sms/delivery_receipt"
|
$dr_url: "https://resqaws.jankstudio.com/sms/delivery_receipt"
|
||||||
|
|
||||||
App\Service\MQTTClient:
|
App\Service\MQTTClient:
|
||||||
arguments:
|
arguments:
|
||||||
|
|
|
||||||
|
|
@ -95,8 +95,11 @@ class WarrantySMSCommand extends Command
|
||||||
{
|
{
|
||||||
$msg = 'Hi ' . $wdata['name'] . ', the warranty for the ' . $wdata['batt'] . ' installed in your car(' . $wdata['plate'] . ') has expired already. Please call MOTOLITE EXPRESS HATID at 8370-6686 to have the status of your battery checked to avoid any inconvenience. Thank you for choosing Motolite.';
|
$msg = 'Hi ' . $wdata['name'] . ', the warranty for the ' . $wdata['batt'] . ' installed in your car(' . $wdata['plate'] . ') has expired already. Please call MOTOLITE EXPRESS HATID at 8370-6686 to have the status of your battery checked to avoid any inconvenience. Thank you for choosing Motolite.';
|
||||||
error_log($wdata['number'] . ' - sending ' . $msg);
|
error_log($wdata['number'] . ' - sending ' . $msg);
|
||||||
|
|
||||||
|
$this->gateway->sendSMS($wdata['number'], 'MOTOLITE', $msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
error_log('sending sms to ' . $number);
|
error_log('sending sms to ' . $number);
|
||||||
$msg = 'This is a test.';
|
$msg = 'This is a test.';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue