twofactor_gateway icon indicating copy to clipboard operation
twofactor_gateway copied to clipboard

websms.de new registration leads now to linkmobility.eu and probably to a new API

Open Haidafraid opened this issue 3 years ago • 1 comments

Perhaps I just chose the wrong sms gateway provider. I wanted to register at websms.de to use your sms-gateway app. Alas the site redirected me to the registration process at linkmobility.eu - I did not manage to register a new account at websms.de I presume that the api differs from the original websms.de api for new users. Or is that case already reflected somewhere in the code? And I just did not see it at first glance? If I understood correctly the API for this gateway can be found here: https://developer.linkmobility.eu/sms-api/rest-api - as I have no glue how the "old" api for websms.de looked like - I can not say if it would be enough to change only the links within WebSms.php Every help to get this to work would be highly appreciated. Cheers Marc

Haidafraid avatar Mar 14 '23 11:03 Haidafraid

It seems that the rest API is the same. The only thing that has to be changed to make websms working with linkmobility.eu is the url. Am I correct, if I therefor just alter Line 57 of the lib/Service/Gateway/SMS/Provider/WebSms.php file to: $this->client->post('https://api.linkmobility.eu/rest/smsmessaging/text', [ for a quick and dirty fix to get websms.de running for linkmobility.eu? Or did I miss anything? Thank you, Marc

Haidafraid avatar May 25 '23 08:05 Haidafraid