-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with client_ref (probably should be named client-ref) #43
Comments
@driesvints It certainly is I did find this https://metacpan.org/pod/Nexmo::SMS::Response::Message which references While I did run a quick test in the Nexmo sandbox and wasn't able to re-create that specific error from @kodooy, I did notice
Update: Interestingly if you look in the Vonage SDK, specifically |
Thanks for the PR! |
Thank you! Now it works perfectly :-) |
The There's a really good chance no one noticed it was wrong just because most customers don't use |
@dragonmantank thanks for the speedy answer Chris! :) |
Description:
When I'm sending NexmoMessage with clientReference() method a 'client_ref' parameter is added to my request, but according to Nexmo documentation this parameter should be called 'client-ref' (https://developer.nexmo.com/messaging/sms/guides/delivery-receipts#using-the-sms-api-in-campaigns).
With 'client_ref' parameter I have got an error 'Undefined index: client_ref' in payload I receive from Nexmo.
When I change in src/Channels/NexmoSmsChannel.php file 'client_ref' into 'client-ref' (line: 62 i 66) everything works OK (there is 'client-ref' property in payload form Nexmo).
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: