Announcement

Collapse
No announcement yet.

Sms Provider Sparrow

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sms Provider Sparrow

    Hello,
    please try..
    don't forget in admin section to complete all data.

    let me know if that's work




    Attached Files

  • #2
    item Thank you so much for building sms gatway extension for me.

    I just test the extension
    working fine

    Thank you so much.

    Comment


    • #3
      item Hello , In my sms provider they will send response code for every Response Code. so that we will be figure out what is the actual error


      {"response_code":1000,"response":"A required field is missing"} {"response_code":1001,"response":"Invalid IP Address"} {"response_code":1002,"response":"Invalid Token"} {"response_code":1003,"response":"Account Inactive"} {"response_code":1004,"response":"Account Inactive"} {"response_code":1005,"response":"Account has been expired"} {"response_code":1006,"response":"Account has been expired"} {"response_code":1007,"response":"Invalid Receiver"} {"response_code":1008,"response":"Invalid Sender"} {"response_code":1010,"response":"Text cannot be empty"} {"response_code":1011,"response":"No valid receiver"} {"response_code":1012,"response":"No Credits Available"} {"response_code":1013,"response":"Insufficient Credits"}


      But in the extension developer by you. we are not being able to figure out the actuall problem when sms is not sending. can you please show the response message send my sms provider

      Thanks in Advance..


      Comment


      • #4
        Not tested.. but must work or easy to debug
        Attached Files

        Comment


        • #5
          It Still does not show any response message or code item .

          Comment


          • item
            item commented
            Editing a comment
            Look log files
            If error, a log must write

            Or check in the file function processError and adapt it .. it’s must easy

        • #6
          It Shows error in logs file as:

          [2021-12-06 05:59:26] DEBUG: API (500) Sparrow SMS sending error. Code: .; POST /TwoFactorSms/action/sendCode; Input data: {"id":"1","phoneNumber":"9819376398"}; Route pattern: /{controller}/action/{action}; Route params: Array ( [controller] => TwoFactorSms [action] => sendCode ) [] []
          [2021-12-06 05:59:26] ERROR: (500) Sparrow SMS sending error. Code: .; POST /TwoFactorSms/action/sendCode; line: 165, file: C:\xampp\htdocs\espo\custom\Espo\Modules\SmsProvid ersNepal\Sparrow\SparrowSender.php [] []

          Comment


          • #7
            Hello yuri Can you please Help me with this error.

            Comment


            • #8
              Hello item Is there an update. I tried to fix but still same error

              Comment


              • #9
                Hello item Any Update ?

                still not being able to fix.

                Comment


                • #10
                  Hello yuri , sms Extension is ready . no need to develop extension. our sms provider sends reponse code for every conditon in json format


                  {"response_code":1000,"response":"A required field is missing"} {"response_code":1001,"response":"Invalid IP Address"} {"response_code":1002,"response":"Invalid Token"} {"response_code":1003,"response":"Account Inactive"} {"response_code":1004,"response":"Account Inactive"} {"response_code":1005,"response":"Account has been expired"} {"response_code":1006,"response":"Account has been expired"} {"response_code":1007,"response":"Invalid Receiver"} {"response_code":1008,"response":"Invalid Sender"} {"response_code":1010,"response":"Text cannot be empty"} {"response_code":1011,"response":"No valid receiver"} {"response_code":1012,"response":"No Credits Available"} {"response_code":1013,"response":"Insufficient Credits"}



                  But in the developed extensin . when sms not send successfully i want to show error with response code send by sms provider like sms sending errror Response code : 10002 invalid sender


                  Please Help me with that . i tried to debug but still couldnt fix it

                  Comment

                  Working...
                  X