Author Topic: twilio extension throwing error  (Read 3314 times)

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 270
  • Karma: +42/-1
    • View Profile
twilio extension throwing error
« on: April 04, 2018, 11:43:44 AM »
I have changed the default from number which was +155... to my twilio test number now I get error
Connection to Twilio server can not be established.
The 'To' number +14... is not a valid phone number..
Check your server configuration or contact your hosting provider.

My number is valid but it should be From +1 4.. not 'To'. Can someone help me to change the test setting of number 'To' 
I have made changes \extensions\default_twilio\admin\controller\responses\extension\default_twilio.php  line 43 and 52 and updated it with my number
\extensions\default_twilio\core\lib\default_twilio.php  line 47 and changed it with my number where is the setting for 'To' so I Can add my mobile number there


Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: twilio extension throwing error
« Reply #1 on: April 05, 2018, 06:39:39 AM »
please test sending of sms here
https://www.twilio.com/console/sms/getting-started/build
Also check your countries list.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 270
  • Karma: +42/-1
    • View Profile
Re: twilio extension throwing error
« Reply #2 on: April 05, 2018, 09:41:18 AM »
It works here. If I remove it from test mode everything works so the issue is with test mode. I just need to know if we enter the number from which sms will be send where is the number for 'To' to test it. I think you are using same number as 'To' and 'From' in test connection is this right?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: twilio extension throwing error
« Reply #3 on: April 05, 2018, 11:11:43 AM »
yes, there was a bug. We already fixed it.
See this commit for details https://github.com/abantecart/abantecart-src/commit/aadda3c7993e85ec6e9668ec893048683f02aca8
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 270
  • Karma: +42/-1
    • View Profile
Re: twilio extension throwing error
« Reply #4 on: April 06, 2018, 11:02:54 AM »
Thank you sir! appreciate you.

 

Powered by SMFPacks Social Login Mod