GithubHelp home page GithubHelp logo

php-payone-sdk's People

Contributors

cakasim avatar fjbender avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

php-payone-sdk's Issues

Provide Default Configuration

Currently the SDK lacks a default configuration. The following config params should have default values:

  • api.endpoint set to https://api.pay1.de/post-gateway/
  • api.key_hash_type set to sha384
  • api.mode set to test
  • notification.sender_address_whitelist set to trusted sender IP list
  • redirect.token_lifetime set to 3600
  • redirect.token_encryption_method set to aes-256-ctr
  • redirect.token_signing_algo set to sha256

Replace api.key_hash Configuration Parameter

The configuration parameter api.key_hash stores the API key in the already hashed form. This restricts the different usage variants of the API key. The API key should therefore be available in plain text within the configuration and, if necessary, be converted into the corresponding hash value.

Use General Interface for SDK Exceptions

To allow easy handling of SDK exceptions for the developer, all SDK specific exceptions should have a common interface. This interface will be named Cakasim\Payone\Sdk\SdkExceptionInterface.

Provice Getter for Notification Parameters

The parameters of a notification can be very different. Depending on the type of notification, different parameters are present. To make the parameters easily accessible, a getter should be implemented that returns the parameter value of a specific parameter using the parameter name.

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.