This package is abandoned and no longer maintained. The author suggests using the heidelpay/php-payment-api package instead.

Client library for heidelpay payments.

17.9.27 2017-09-27 08:25 UTC


Latest Version on Packagist Coverage Status Build Status Codacy Badge PHP 5.6 PHP 7.0 PHP 7.1 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.

ATTENTION: This package is abandoned and replaced by heidelpay/php-payment-api package.

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
  • direct debit secured b2c
  • Santander invoice
  • easyCredit


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


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


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


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


This library comes with a set of unit tests. Please be so kind and do not run all tests on any build.


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

_enableExamples.php and change

define('HeidelpayPhpApiExamples', FALSE);


define('HeidelpayPhpApiExamples', TRUE);

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