MSG91 / sendotp-node

38 stars 24 forks source link

International OTP does not work. #26

Open zegulas opened 5 years ago

zegulas commented 5 years ago

Trying to send international OTP, doesn't work. It will require an extra parameter to be sent "country=0" to the API for it to be considered as international OTP SMS.

ashish-kadam-myglamm commented 5 years ago

Fixed, works properly. Do check and merge. https://github.com/MSG91/sendotp-node/commit/996896124342b784da25183870cf8c7ffdb3a1c7

ashish-kadam-myglamm commented 5 years ago

https://help.msg91.com/article/76-how-to-send-sms-worldwide

this is why you need to send country=0 for international sms.

tuku-dev commented 3 years ago

I tried to send otp adding country=0 but It returns success but I didn't get any otp. Also the given link (By ashish-kadam) isn't working.