Download the PHP package heidelpay/php-payment-api without Composer

On this page you can find all versions of the php package heidelpay/php-payment-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-payment-api

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:

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.


All versions of php-payment-api with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
lib-curl Version *
lib-openssl Version *
ext-simplexml Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package heidelpay/php-payment-api contains the following files

Loading the files please wait ....