UBA-GCOEN / StichHub

We bridge the physical gap between a tailor and the customers through our platform. Providing customers a choice of the tailors and the tailors with an increased reach for customers.
https://stichhub.vercel.app
MIT License
76 stars 95 forks source link

Feat: Verifying Phone Number #344

Closed AlfiyaSiddique closed 1 year ago

AlfiyaSiddique commented 1 year ago

Is there an existing issue raised for this?

Describe the feature

Problem

In the tailor verification first step the phone number is just asked from the user but not actually verified. We can actually verify the phone number by implementing sms functionality in nodejs. We can use free sms API for this purpose.

Proposed Idea

We can use OTP functionality for verifying phone numbers. The OTP will be sent to the phone number provided by the user and the user has to insert the OTP in an input field and if the opt matched then the phone number is verified.

Add Screenshots

..

Record Options

Siddhant-Patil0203 commented 1 year ago

Hey @AlfiyaSiddique Which SMS API are your planing to use?

AlfiyaSiddique commented 1 year ago

Hello @Siddhant-Patil0203 I am planning for using either MessageBird or TextLocal.

MessageBird provides a free account with a limited number of credits.

TextLocal has a free service of 10 messages per Bundle

5

Most probably there is no API with a complete free SMS service. Every free service has some limitations. So I guess to start with we can use one of these free services.

What do you say?

Siddhant-Patil0203 commented 1 year ago

@AlfiyaSiddique, yup we can start with any of these services. Go ahead and make this verification working, tag me if you need any help or have a query.

AlfiyaSiddique commented 1 year ago

@AlfiyaSiddique, yup we can start with any of these services. Go ahead and make this verification working, tag me if you need any help or have a query.

Sure, Thank you👍🏻

AlfiyaSiddique commented 1 year ago

Hey @Siddhant-Patil0203

I have started working on this issue but unfortunately, the messagebird API no longer provides free credits and the textlocal API requires DLT registration to use it so most probably we can't use it either.

But the good thing is I have tried one more API called Twilio and it gives limited $16.0 free credits. I have implemented it and it's working perfectly but once the credits are consumed we have to buy it again.

So can I go ahead with this Twilio API?

AlfiyaSiddique commented 1 year ago

@Siddhant-Patil0203 can you please share your suggestions on the above 👆🏻

Siddhant-Patil0203 commented 1 year ago

Hey @Siddhant-Patil0203

I have started working on this issue but unfortunately, the messagebird API no longer provides free credits and the textlocal API requires DLT registration to use it so most probably we can't use it either.

But the good thing is I have tried one more API called Twilio and it gives limited $16.0 free credits. I have implemented it and it's working perfectly but once the credits are consumed we have to buy it again.

So can I go ahead with this Twilio API?

@AlfiyaSiddique Alright Go ahead with it