PHPackages                             pimcore/payment-provider-datatrans - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. pimcore/payment-provider-datatrans

ActivePimcore-bundle[Payment Processing](/categories/payments)

pimcore/payment-provider-datatrans
==================================

Pimcore Payment Provider - Datatrans

v1.0.4(2y ago)015.5k—8.3%4[2 issues](https://github.com/pimcore/payment-provider-datatrans/issues)GPL-3.0+PHPCI passing

Since Feb 3Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/pimcore/payment-provider-datatrans)[ Packagist](https://packagist.org/packages/pimcore/payment-provider-datatrans)[ RSS](/packages/pimcore-payment-provider-datatrans/feed)WikiDiscussions 2026.x Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (17)Used By (0)

Pimcore E-Commerce Framework Payment Provider - Datatrans
=========================================================

[](#pimcore-e-commerce-framework-payment-provider---datatrans)

### Official Datatrans Documentation

[](#official-datatrans-documentation)

- [Datatrans Documentation](https://www.datatrans.ch/showcase/authorisation/payment-method-selection-on-merchant-website)
- [Test card numbers](https://docs.datatrans.ch/docs/testing-credentials#section-credit-debit-cards)

Installation
------------

[](#installation)

Install latest version with composer:

```
composer require pimcore/payment-provider-datatrans
```

Enable bundle via console or extensions manager in Pimcore backend:

```
php bin/console pimcore:bundle:enable PimcorePaymentProviderDatatransBundle
php bin/console pimcore:bundle:install PimcorePaymentProviderDatatransBundle
```

Configuration
-------------

[](#configuration)

The Payment Manager is responsible for implementation of different Payment Provider to integrate them into the framework.

For more information about Payment Manager, see [Payment Manager Docs](../13_Checkout_Manager/07_Integrating_Payment.md).

Configure payment provider in the `pimcore_ecommerce_config.payment_manager` config section:

```
pimcore_ecommerce_config:
    payment_manager:
        providers:
            datatrans:
                # service ID of payment provider implementation
                provider_id: Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Datatrans

                # active profile - you can define multiple profiles in the section below
                profile: sandbox

                # available profiles with options - options vary on the provider implementation as the
                profiles:
                    sandbox:
                        merchant_id: 1000011011
                        sign: 30916165706580013
                        use_digital_signature: false
                    live:
                        merchant_id: merchant_id_id
                        sign: sign_id
                        use_digital_signature: false
                        mode: live
```

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: [![PaymentInfo Additional Data](./doc/img/datatrans_paymentinfo.png)](./doc/img/datatrans_paymentinfo.png)

> It's possible to make an authorisation and clearing in one step. Default behavior is authorisation only. For automatic clearing set the option "reqtype" to "CAA"

```
