testing issue 8
This commit is contained in:
parent
571f548b5a
commit
e3daaac8d6
@ -72,7 +72,7 @@ class Controller_api_notification extends Crunchbutton_Controller_Rest {
|
||||
|
||||
case 'twilio':
|
||||
|
||||
if ($notification->order()->accepted()) {
|
||||
if ($notification->order()->accepted() || $notification->order()->confirmed ) {
|
||||
if ($_REQUEST['CallSid'] == $notification->remote) {
|
||||
if ($_REQUEST['Duration']) {
|
||||
$notification->status = 'success';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user