GaloyMoney / blink

bitcoin banking infrastructure
https://galoy.io
MIT License
360 stars 137 forks source link

text issues with twilio #266

Closed nicolasburtey closed 10 months ago

nicolasburtey commented 3 years ago

a lot of people have issues receiving text. we are in touch with twilio to try to resolve the issue. one of the reason could be that the phone number used to send the text is coming from the US but being sent to El Salvador

we may want to try an alternative system to see if this works better. a non exhaustive list of providers:

dolcalmi commented 3 years ago

or add "retry options" with other messenger services (like whatsapp or telegram)

nicolasburtey commented 3 years ago

the whatsapp fallback (or even primary) option is something I have been thinking about.

some of the benefits would be:

question:

dolcalmi commented 3 years ago
  • is there an API for it?

we can keep using twilio https://www.twilio.com/whatsapp but there is a cost. we could also use AWS SNS or messagebird, or... we can use an automated call with the code (we can use twilio too but not sure about the cost).

  • Whatsapp account are not tight to a single phone number

you can transfer the account to a new number or use it with "another" phone number if you change the SIM, but in general is a way to reduce SMS problems.

nicolasburtey commented 3 years ago

we can keep using twilio https://www.twilio.com/whatsapp but there is a cost. we could also use AWS SNS or messagebird, or... we can use an automated call with the code (we can use twilio too but not sure about the cost).

the cost are actually about what it is for text unfortunately: https://www.twilio.com/whatsapp/pricing/sv doesn't make a lot of sense for me on why that is the case

it's possible an integration with the local telco to be the most efficient way to go forward

nicolasburtey commented 3 years ago

actually there would still be some benefits to try Whatsapp. currently about 1% of the text doesn't seems to arrive. it seems to be because the phone number sending the text are from the US. I'm trying to understand why that is with the twilio support. but using Whatsapp, while not helping on the cost side, may solve this deliverability issue.

nicolasburtey commented 2 years ago

maybe an option that would help would be to randomize the text being sent and now include "bitcoin" in the string.

nicolasburtey commented 2 years ago

duplicated ticket: https://github.com/GaloyMoney/galoy/issues/284