Giter VIP home page Giter VIP logo

heidelpay / php-payment-api Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 9.0 1.02 MB

For any issues or questions please get in touch with us via [email protected]

Home Page: https://dev.heidelpay.com/quick-start-quide-php-payment-api/

License: Other

PHP 99.45% JavaScript 0.31% CSS 0.05% Shell 0.20%
heidelpay payment payment-integration payment-gateway payment-methods sdk sdk-php php-api invoice creditcard

php-payment-api's Introduction

Latest Version on Packagist Build Status Codacy Badge Codacy Badge PHP 7.1 PHP 7.2 PHP 7.3 PHP 7.4 Logo

Welcome to the heidelpay payment api for php

This is the php payment api for heidelpay. The library will help you to easily integrate heidelpay into your application.

Currently supported payment methods:

  • credit card
  • debit card
  • prepayment
  • Sofort
  • PayPal
  • direct debit
  • iDeal
  • Giropay
  • Przelewy24
  • PostFinance Card
  • PostFinance EFinance
  • EPS
  • invoice
  • invoice secured b2c
  • invoice secured b2b
  • direct debit secured b2c
  • Santander invoice
  • Santander hire purchase
  • easyCredit
  • Payolution invoice

SYSTEM REQUIREMENTS

php-payment-api requires PHP 7.1 or higher; we recommend using the latest stable PHP version whenever possible.

SECURITY ADVICE

If you want to store the output of this library e.g. into a database, please make sure that your application takes care of sql injection, cross-site-scripting (xss) and so on. There is currently no build-in protection.

LICENSE

You can find a copy of this license in LICENSE.txt.

Support

For any issues or questions please get in touch with our support.

Web page

https://dev.heidelpay.com/

Email

[email protected]

Phone

+49 (0)6221/6471-100

Twitter

@devHeidelpay

Documentation

Please visit http://dev.heidelpay.com/heidelpay-php-payment-api/ for the developer documentation.

Unit- and Integration tests

This library comes with a set of unit and integration tests. Please do not run the integration tests on each build.

Run prior to tests: vendor/bin/codecept build

Run unit tests: vendor/bin/codecept run unit

Run unit tests with code coverage report: vendor/bin/codecept run unit --coverage --coverage-html

Run integration tests: vendor/bin/codecept run integration

Run integration tests with debug output: vendor/bin/codecept run integration --debug

Run all integration test of a specific class: vendor/bin/codecept run tests/integration/PaymentMethods/EasyCreditPaymentMethodTest

Run a specific integration test: vendor/bin/codecept run tests/integration/PaymentMethods/EasyCreditPaymentMethodTest:initialRequest

For coverage analysis results see: ./tests/_output/coverage/index.html

Examples

Integration examples can be found in the example folder. Just open the

_enableExamples.php and change

define('HEIDELPAY_PHP_PAYMENT_API_EXAMPLES', FALSE);

to

define('HEIDELPAY_PHP_PAYMENT_API_EXAMPLES', TRUE);

Please make sure to switch it off again, after you launch your application.

To enable the easyCredit example you might have to change the file permissions for the file "example/EasyCredit/EasyCreditResponseParams.txt".
It will be used to store the post-parameters send asynchronously by the payment which otherwise would not be accessable in the client session.

php-payment-api's People

Contributors

bnoobbnoob avatar devheidelpay avatar frostblognet avatar janoschsten avatar mablae avatar ryouzanpaku avatar stevenobird avatar

Stargazers

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

Watchers

 avatar  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.