Add PreCheckoutQueryEvent handling
This commit is contained in:
parent
c57cdfe05c
commit
f1342e3f42
3 changed files with 36 additions and 0 deletions
|
@ -101,6 +101,11 @@
|
|||
return UpdateEventType::PAID_MEDIA_PURCHASED;
|
||||
}
|
||||
|
||||
if($update->getPreCheckoutQuery() !== null)
|
||||
{
|
||||
return UpdateEventType::PRE_CHECKOUT_QUERY;
|
||||
}
|
||||
|
||||
return UpdateEventType::UPDATE_EVENT;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue