Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekyna/payumpayzen
PayZen Gateway for Payum
https://github.com/ekyna/payumpayzen
Last synced: 9 days ago
JSON representation
PayZen Gateway for Payum
- Host: GitHub
- URL: https://github.com/ekyna/payumpayzen
- Owner: ekyna
- License: mit
- Created: 2017-01-04T15:46:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-04T14:01:02.000Z (about 1 year ago)
- Last Synced: 2024-10-10T23:05:44.943Z (about 1 month ago)
- Language: PHP
- Size: 38.1 KB
- Stars: 4
- Watchers: 4
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
PayumPayzen
===========PayZen Payum Gateway (Systempay, Scellius, CLIC&PAY, OSB, SOGE_COMMERCE)
[![Build](https://github.com/ekyna/PayumPayzen/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/ekyna/PayumPayzen/actions/workflows/build.yml)
## Installation / Configuration
```bash
composer require ekyna/payum-payzen
``````php
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());
```