Closed ankurk91 closed 1 year ago
scts
is a property that looks to have been changed in the API (we saw this recently that affected how the webhooks are constructed.) I'll take another look at this, it might be just be a case of making it optional (hopefully) but there may be some logic that relies on that property
Fixed by #424, thank you for reporting
Expected Behavior
DeliveryReceipt
class should be able to construct the objectCurrent Behavior
Vonage\SMS\Webhook\DeliveryReceipt
class throws an exception thatscts
property is not therePossible Solution
Make
scts
optionalSteps to Reproduce (for bugs)
Send an SMS to a wrong number, and receive a DLR on app server and check JSON Payload, you will find
scts
missingContext
Here is the JSON Payload that we received from vonage server
Notice the failed status
Your Environment