PHPackages                             nowakadmin/omnipay-przelewy24 - 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. nowakadmin/omnipay-przelewy24

ActiveLibrary[Payment Processing](/categories/payments)

nowakadmin/omnipay-przelewy24
=============================

Przelewy24 driver for the Omnipay payment processing library Updated to new Przelewy24 api

03PHP

Since Nov 3Pushed 3y agoCompare

[ Source](https://github.com/NowakAdmin/omnipay-przelewy24)[ Packagist](https://packagist.org/packages/nowakadmin/omnipay-przelewy24)[ RSS](/packages/nowakadmin-omnipay-przelewy24/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Omnipay: Przelewy24
===================

[](#omnipay-przelewy24)

**Przelewy24 gateway for the Omnipay PHP payment processing library**

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/80ebf604e87264ffe5f524dd18ed3a3a2abc70f99ca1e03ffcde397005c83731/68747470733a2f2f7472617669732d63692e6f72672f5469636b6574537761702f6f6d6e697061792d70727a656c65777932342e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/TicketSwap/omnipay-przelewy24)

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements Przelewy24 support for Omnipay.

For more information about the Przelewy24 API, take a look at the [manual](https://developers.przelewy24.pl/index.php?pl)

Package in early stage might not work for now.

Install
-------

[](#install)

This gateway can be installed with [Composer](https://getcomposer.org/):

```
$ composer require nowakadmin/omnipay-przelewy24
```

Usage
-----

[](#usage)

The following gateways are provided by this package:

- Przelewy24

Example
-------

[](#example)

```
require_once  __DIR__ . '/vendor/autoload.php';

use Omnipay\Omnipay;

/** @var \Omnipay\Przelewy24\Gateway $gateway */
$gateway = Omnipay::create('Przelewy24');

$gateway->initialize([

    'merchantId' => 'YOUR MERCHANT ID HERE',
    'posId'      => 'YOUR POS ID HERE',
    'crc'        => 'YOUR CRC KEY HERE',
    'testMode'   => true,
]);

$params = array(
    'sessionId' => 2327398739,
    'amount' => 1234, //in groszy
    'currency' => 'PLN',
    'description' => 'Payment test',
    'country' => "string
