-
-
Notifications
You must be signed in to change notification settings - Fork 434
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
D7networks SMS provider doesn't work #784
Comments
Wow, Thanks for sharing this; they completely re-designed their API. The new adaptation will be essentially a brand new plugin. Do you know if the old API calls even work? Should i keep it backwards compatible to just replace the underlining library complete with the new. I can't see anywhere on their website where they even identify the old setup. Thoughts? |
I don't know... Are you kept your d7 networks account for checking that? |
Request example of sending sms with the new API:
To get a Bearer token, create an application and generate token. |
I put a big PR in place.. I have not tested it though; I will follow through with the process of getting myself a D7 Network account and get back to you. The part of the code that i'm uncertain about is here. Since the new API is so completely different and incompatible with the previous version; i can only assume the responses back from it will be different too. |
As an update to this; it's a similar situation to Plivo and this comment here. My D7 Networks account was deactivated and when i tried to sign up again, i had to fill out a form because i was using a gmail account. Not sure if it will be rejected or not (as i don't have a company which is the minimum requirement to use this service). While i wait back, i made some more changes (dropping the extra QA on bulk notifications) and added more testing. I belive it may/should work, but will await your feedback. Please see information on PR on how to test; I would be really appreciative of your feedback. |
There's no batch mode anymore on the new API, so I think you can remove this code. Exemple of success sending:
Exemple of bad token :
Sending with bad phone number returns HTTP 200 also. It seems that there is no check on phone number and in d7 async task either. |
I will try to test the PR |
Closing this issue off as the code has been merged (and available in the release i put out today) |
📣 Notification Service(s) Impacted
D7 Networks
🐞 Describe the bug
When called we receive HTTP 500
💻 Your System Details:
🔮 Additional context
D7 Networks has published a new API
I think that new accounts can't use the old API.
So, it's needed to update this service to add their new API
The text was updated successfully, but these errors were encountered: