Git Product home page Git Product logo

sdk-php's People

Contributors

andrewdidovik avatar andreybolonin avatar andriyvoloshin avatar antonshevel avatar bocharsky-bw avatar d1man avatar denisatemash avatar dmitry-y-kapustin avatar ftw-soft avatar gregoire-m avatar kagatan avatar miserenkov avatar oleksiikliuiev avatar pb-web-develop avatar r-kovalenko avatar viplifes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sdk-php's Issues

private_key concatenation inside str_to_sign

public function str_to_sign($str)
{
    $signature = base64_encode(sha1($this->_private_key . $str . $this->_private_key, 1));
    return $signature;
}

Why not?
Why you make a concatenation of the private_key from the outside?

php < 8

is it suitable for php early versions?
"public CurlRequester $curlRequester"
syntax error, unexpected 'CurlRequester'

Supported languages

The LiqPay officially supports 3 languages: ru, uk, en.
Please update function: public function cnb_form($params) by adding ability to set uk language.

Allow to inject custom $_api_url

Hi,

For development and test purposes, on my local computer or on my CI, I'd like to be able to specify a custom API URL, instead of the hard-coded private $_api_url = 'https://www.liqpay.ua/api/';.

For instance, I'm working with a WireMock instance to simulate different kind of responses from the API, for my automated functional tests.

So, could you allow to set this URL through a constructor argument, or a setter?

Thanks.

Release

Hello. Can you connect packagist.org to github.com
All new releases will be published in packagist and it will be possible to install specific version of your library.
for example composer require liqpay/liqpay:1.1

Error with confirm token

{"code":"err_missing","err_code":"err_missing","err_description":"Required parameter not passed confirm_token","key":"confirm_token","result":"error","status":"error"}

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.