Download the PHP package pimcore/payment-provider-unzer without Composer

On this page you can find all versions of the php package pimcore/payment-provider-unzer. 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 payment-provider-unzer

Pimcore E-Commerce Framework Payment Provider - Unzer (former: Heidelpay)

Unzer Web Integration

To integrate Unzer web integration see Unzer docs and follow following steps.

The basic flow goes as following:

Installation

Install latest version with composer:

Enable bundle via console or extensions manager in Pimcore backend:

Configuration

Setup payment provider in e-commerce framework configuration. The access keys you find in Unzer documentation (or you will get them from Unzer for production integrations).

Payment Information: Order payment section "Payment Informations" stores information about every payment trial by Customer.

Add additional fields in "PaymentInfo" fieldcollection, so that Order Manager stores information in Order object:

Create View Template

Create view template for payment method selection. This view template

Sample template with Creditcard, Paypal and Sofort

Sample Javascript (payment.js) with Creditcard, Paypal and Sofort

5) Create Controller Action for Payment Selection

The only special thing in this controller action is to get public access key out of payment provider and assign it to the template.

6) Create Controller Action for Starting Payment

To this action the paymentId of Unzer is submitted after payment transaction is started successfully on client side.

Additionally an error action is defined to extract the error messages from Unzer.

7) Create Controller Action for Commit Order Finally commit order and redirect user to order success page.

Important Configuration

Please make sure that serialize_precision is set to a very high value, or even better to -1 in order to prevent rounding issues with the unzer sdk. For details also see https://docs.unzer.com/integrate/php-sdk/installation/#php-configuration


All versions of payment-provider-unzer with dependencies

PHP Build Version
Package Version
Requires unzerdev/php-sdk Version ^3.0 || ^1.2.0
pimcore/pimcore Version ^11.0
pimcore/ecommerce-framework-bundle Version ^1.0
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 pimcore/payment-provider-unzer contains the following files

Loading the files please wait ....