invit/payum-sofort

This package is abandoned and no longer maintained. The author suggests using the payum/sofort package instead.

The Payum extension. It provides Sofort (Sofortüberweisung) payment integration.

dev-master / 0.15.x-dev 2015-11-27 07:17 UTC

This package is auto-updated.

Last update: 2019-10-01 15:45:22 UTC


README

Payum extension to provide a Sofort (Sofortüberweisung) gateway

Symfony2 Bridge

Register factory inside your bundle

<?php
namespace Acme\Bundle\DemoBundle;

use Invit\PayumSofortueberweisung\Bridge\SymfonySofortueberweisungGatewayFactory;

class AcmeDemoBundle extends Bundle
{
    public function build(ContainerBuilder $container)
    {
        parent::build($container);
        
        $extension = $container->getExtension('payum');
        $extension->addGatewayFactory(new SymfonySofortueberweisungGatewayFactory());
    }
}

Configure sofort gateway

payum:
    gateways:
        sofort_xyz:
            sofort:
                config_key: 'xxx:yyy:zzzzzzzz'
                abort_url:  'https://www.nicewebshop.ch/get_me_back_there'