2017 © Pedro Peláez
 

component payum-payzen

PayZen Payum gateway

image

ekyna/payum-payzen

PayZen Payum gateway

  • Sunday, June 24, 2018
  • by ekyna
  • Repository
  • 1 Watchers
  • 0 Stars
  • 520 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 57 % Grown

The README.md

PayumPayzen

PayZen Payum Gateway (Systempay, Scellius, CLIC&PAY, OSB, SOGE_COMMERCE), (*1)

Build, (*2)

Installation / Configuration

composer require ekyna/payum-payzen
use Ekyna\Component\Payum\Payzen\Api\Api;
use Ekyna\Component\Payum\Payzen\PayzenGatewayFactory;

$factory = new PayzenGatewayFactory();

$gateway = $factory->create([
    'site_id'     => '132456',
    'certificate' => '132456',
    'ctx_mode'    => Api::MODE_PRODUCTION,
    'hash_mode'   => Api::HASH_MODE_SHA256,
    'directory'   => __DIR__ . '/payzen-cache',
    'endpoint'    => Api::ENDPOINT_SYSTEMPAY, // default value, see `Api::ENDPOINT_*` constants for more
    'endpoint_url'    => // null default value, add custom endpoint not in  `Api::ENDPOINT_*` constants 
]);

// Register your convert payment action
// $gateway->addAction(new \Acme\ConvertPaymentAction());

The Versions