Git Product home page Git Product logo

sofortlib-php's Introduction

SofortLib-PHP @ SOFORT GmbH

Build Status

This documentation explains the SofortLib PHP, its parts, how to set it up and how to test it.

DESCRIPTION

Integrate the SofortLib PHP into your project to communicate via PHP with the SOFORT API.

Find out more about the SOFORT API/SDK here: https://www.sofort.com/integrationCenter-eng-DE/integration/API-SDK/

SofortLib PHP Supports the following SOFORT Products:

  1. SOFORT Überweisung (SOFORT Banking/Payment)
  2. SOFORT Paycode
  3. SOFORT Billcode
  4. Refund
  5. iDEAL

Install

Install the sofort/sofortlib-php package using composer:

{
    "require": {
        "sofort/sofortlib-php": "3.*"
    }
}

SofortLib Package

The SofortLib PHP package contains the following:

  • the /src directory with the class-files
  • an /examples folder, with examples of usage
  • the folder /test with the unittests (for PHP Unit).

Functionality

  • initiate a SOFORT Überweisung
  • create/initiate a SOFORT Überweisung Paycode
  • create/initiate a SOFORT Überweisung Billcode
  • getting the details for one or more transactions
  • getting the details for a period and/or status
  • convert received XML to a PHP Object
  • marking refunds
  • getting the current iDEAL Bank list
  • generate a forward URL for the iDEAL payment data
  • creating checksum/hash for iDEAL Payment data
  • creating checksum/hash for iDEAL Notifications

Usage

Find examples of usage for the different modules in the /examples directory.

Testing

Run the tests

./vendor/bin/phpunit

sofortlib-php's People

Contributors

vasulief avatar lxlang avatar chmoelders avatar katzefudder avatar ctwsb avatar fruumanstuck avatar 0x20h avatar vojtasvoboda avatar stockii avatar valeriitropin avatar

Watchers

James Cloos avatar

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.