Git Product home page Git Product logo

Comments (5)

bgaillard avatar bgaillard commented on August 21, 2024

Hi @vinkla and thanks for this suggestion, I agree with you the CreateMessageResponse class should check if $json['response'] is null.

Perhaps this check is not specific to the CreateMessageResponse class and should be common to all kind of responses.

Maybe we could implement a way to handle these kinds of status messages? What do you think?

Yes sure, we'll try to do it but it seems to be a very minor issue so we'll certainly do it later (in few weeks or months).

If you want to help you can provide a PR on this by taking into account the fact that the check to implement should be common to all responses if possible.

Thanks.

from php-pushwoosh.

vinkla avatar vinkla commented on August 21, 2024

Great! I think a global error handling would be better instead of just updating the CreateMessageResponse class.

It is a minor issue since this library only works if you've an paid account. In my case, I had just upgraded my the account but the API returned this error anyway. Contacted the support and they said it usually takes up to a half hour before it kicks in.

Thanks for getting back. We're using your library in some of our projects and it works great.

from php-pushwoosh.

bgaillard avatar bgaillard commented on August 21, 2024

Ok, happy to see the library feets your needs, feel free to publish more issues if you think about new features or improvements.

It is a minor issue since this library only works if you've an paid account. In my case, I had just upgraded my the account but the API returned this error anyway. Contacted the support and they said it usually takes up to a half hour before it kicks in.

Ok, perhaps this is an opportunity to augment error messages returned by Pushwoosh by providing additional help with the error (see #14).

from php-pushwoosh.

bgaillard avatar bgaillard commented on August 21, 2024

Fixed with 941161e.

from php-pushwoosh.

vinkla avatar vinkla commented on August 21, 2024

👍

from php-pushwoosh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.