Giter Site home page Giter Site logo

php_telesign's Issues

Code improvement

However we decided to not use TeleSign as because of unknown reasons TeleSign staff were impolite with us (probably this is a fake company or staff are school teenagers, this is why we assume TeleSign is just a garbage), but we improved and cleaned up your code a bit. Do you want us to submit a PR?

VerifyClient Class Does NOT Exist for PHP

in SMS Verify Section in the Website
there is a Code for PHP Example
But it Doesn't Work Because this doesn't work

# Instantiate a verification client object.
$verify_client = new VerifyClient($customer_id, $api_key);

I used v3.0.0

Draft Official Release for Tag v1.0.0

Can you draft an official release for tag v1.0.0? It does not show up on Packagist as a valid release and therefore it can't be installed via Composer. If you try to require v1.0.0 and install with Composer, you will get the following error:
The requested package telesign/telesign v1.0.0 exists as telesign/telesign[dev-master, v2.0.0, v2.1.0] but these are rejected by your constraint.

Thanks.

Any plans to update compatibility with PHP 8.1?

After upgrade to PHP 8.1 got error:

PHP Deprecated http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated
[internal] http_build_query
/vendor/telesign/telesign/src/rest/RestClient.php:210 telesign\sdk\rest\RestClient::execute
/vendor/telesign/telesign/src/rest/RestClient.php:154 telesign\sdk\rest\RestClient::post
/vendor/telesign/telesign/src/score/ScoreClient.php:22 telesign\sdk\score\ScoreClient::score

New release 2.2.2 is broken

It seems like your newest minor version update is broken. Recent update was about having content type "application/json" for PhoneIdClient. Code always assumes that if the request is POST then it must be "application/json" content type. That api has no required body parameters and we are not passing that. We are getting 503 HTTP response code for each request for phoneid api. It used to working with your older version 2.2.1 properly. Can you please fix this?

$content_type = in_array($method_name, ["POST", "PUT"]) ? "application/json" : "";

Thanks.

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.