Доработка Drupal модуля SMSC
Задача: Доработка Drupal модуля https://www.drupal.org/project/smsc с целью получения возможности верифицировать номер телефона при помощи кода в номере входящего звонка, а не смс.
---
Как работает сейчас:
После установки и настройки модуля SMSC в паре с модулями SMS Framework + Mobile Number для сущности юзер можно создать поле типа Mobile Number и вывести его в форму регистрации пользователя, таким образом получив возможность верифицировать номер пользователя при помощи кода во входящем смс (https://smsc.ua/api/http/send/sms/#menu)
Как требуется:
Требуется, чтобы вместо входящего смс с кодом, пользователь получал входящий звонок, где проверочный код содержится в номере телефона. Подобная функция сервиса SMSC описана в их API https://smsc.ua/api/http/send/voice/phone_code/#menu
В чём нюанс:
Текущий способ работы модуля smsc, насколько я понимаю, подразумевает генерацию случайного кода на стороне сайта Drupal, сохранение кода на стороне Drupal в сессии гостя, отправку запроса в SMSC с этим кодом, а потом сравнение кода из смс который вводит пользователь в форму с кодом из сессии.
Но обратите внимание, что при отправке кода в номере телефона (https://smsc.ua/api/http/send/voice/phone_code/#menu) у Вас нет возможности указать произвольный код в запросе, как в первом случае. Случайный код генерируется на стороне SMSC и возвращается ответом на запрос.
То есть по факту нужно чтобы работало примерно так:
- Сайт друпал отправляет запрос за код в звонке в SMSC
- Получает ответ c кодом, который вернул SMSC и сохраняет его в сессии
- Пользователь получает звонок, берёт из него код, вводит в форме и происходит сравнение введённого кода с кодом из сессии.
---
Или приемлем любой другой вариант верификации номера телефона при регистрации пользователя с любым другим набором модулей, но который бы обязательно использовал именно сервис SMSC и его способ проверки номера через звонок (https://smsc.ua/api/http/send/voice/phone_code/#menu) - хоть созданный с нуля модуль с зависимостью или без от любых других модулей.
Интересуют сроки и стоимость.
Спасибо!
-
439 5 0 Hello!
My name is Dmitry.
I have been developing a site on Drupal more than 9 years starting with version 6. Now I am working with versions of Drupal 6, 7 and 8.
Have a look at my portfolio, it contains some of my sites, I've worked on recently. http://codewebsolution.com.ua/portfolio
Thank you in advance for your time and consideration.
I look forward to working with you soon.
Current freelance projects in the category PHP
Modules for a website on Laravel
90 USD
Delivery and payment module for the site https://novabook.top/ (Botble CMS / Laravel) Add convenient delivery and payment methods (including installment plans) in the checkout, similar in style and convenience to the mirson ua site.Delivery (mandatory) Nova Poshta Branch… Javascript and Typescript, PHP ∙ 4 hours 4 seconds back ∙ 14 proposals |
Integration needed: KeyCRM → Cash Register KashalotIt is necessary to set up integration between KeyCRM and the Cash Register Kahalot. When placing an order in KeyCRM, the data must be automatically transmitted to Kahalot: • order information • products, nomenclature • prices • quantity More details in private. Content Management Systems, PHP ∙ 2 days 3 hours back ∙ 28 proposals |
Development of 2 SEO-oriented websites for selling spare parts (ATVs and special equipment)Development of Two Specialized Websites for Selling Spare PartsGeneral Information It is necessary to develop two specialized websites: Spare parts for ATVs, UTVs, SSVs, and other similar equipment. Spare parts for special equipment. Existing company website:… PHP, Web Programming ∙ 4 days 10 hours back ∙ 77 proposals |
Development of a WordPress website
23 USD
We are looking for a contractor to develop a custom website on WordPress for a jewelry store. The first stage will be a consultation. Content Management Systems, PHP ∙ 7 days 2 hours back ∙ 75 proposals |
Parser expireddomains.net
112 USD
A parser is needed for expireddomains.net. You need to log in to the site first; the problem is that it blocks the IP when trying to parse data. You need to parse thematic domains based on a list of keywords. If you are not confident in your abilities, please do not write. PHP, Web Programming ∙ 9 days 10 hours back ∙ 53 proposals |