PHPackages                             paypronl/omnipay-paypro - 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. paypronl/omnipay-paypro

ActiveLibrary[Payment Processing](/categories/payments)

paypronl/omnipay-paypro
=======================

PayPro gateway for Omnipay

52302[3 issues](https://github.com/paypronl/omnipay-paypro/issues)PHP

Since Jun 1Pushed 10y ago10 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Omnipay: paypro
===============

[](#omnipay-paypro)

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

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/32222208ac9a64f5af3e417a2cb8d04de04c7cea757e3e645db24bc1751beaa5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f70617970726f6e6c2f6f6d6e697061792d70617970726f2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/paypronl/omnipay-paypro)

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

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Install
-------

[](#install)

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

```
$ composer require paypronl/omnipay-paypro:0.1.x@dev
```

Usage
-----

[](#usage)

The following gateways are provided by this package:

- PayPro

Example
-------

[](#example)

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

use Omnipay\Omnipay;

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

$gateway->initialize([
    'apiKey' => 'YOUR API KEY HERE',
    'productId' => null,
    'testMode' => true,
]);

$params = array(
    'amount' => 12.34,
    'description' => 'Payment test',
    'returnUrl' => 'www.your-domain.nl/return_here',
    'notifyUrl' => 'www.your-domain.nl/notify_here', //see http://www.paypro.nl/postback
    'transactionId' => 'abc12345',
    'issuer' => 'ideal/RABONL2U',
    'productId' => 12345,
    'card' => array(
        'email' => 'info@example.com',
        'name' => 'My name',
    ),
);

$response = $gateway->purchase($params)->send();

if ($response->isSuccessful()) {
    echo 'Success!';
} elseif ($response->isRedirect()) {
    $response->redirect();
} else {
    echo 'Failed';
}
```

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay) repository.

Parameters
----------

[](#parameters)

You can set the following parameters:

- apiKey (required): The PayPro.nl Api Key
- amount (required): The amount, as float/decimal
- productId: Your PayPro.nl product Id
- description: The order description
- transactionId: A custom transactionId
- issuer: A payment method, see  for all pay methods (select get\_all\_pay\_methods)
- vat: The VAT percentage
- returnUrl: The URL to show after payment has been completed.
- notifyUrl: The URL to post the status to (postback url)
- testMode: Boolean to indicate testing.

Card information
----------------

[](#card-information)

You can set the following information, using the Card object.

- name / firstName + lastName
- email
- address1 / billingAddress1
- address2 / billingAddress2
- postcode / billingPostcode
- city / billingCity
- country / billingCountry

See  for more information.

Payment methods
---------------

[](#payment-methods)

You can get all available payment methods with `fetchPaymentMethods()` and the available issuers for all methods with `fetchIssuers()`. The Issuer ID can be passed to the `purchase()` method to directly configure the payment method.

```
$methods = $gateway->fetchPaymentMethods()->send()->getPaymentMethods();

/** @var \Omnipay\Common\PaymentMethod $method */
foreach ($methods as $method) {
    echo $method->getId();
    echo $method->getName();
}

$issuers = $gateway->fetchIssuers()->send()->getIssuers();

/** @var \Omnipay\Common\Issuer $issuer */
foreach ($issuers as $issuer) {
    echo $issuer->getId();
    echo $issuer->getName();
    echo $issuer->getPaymentMethod();
}
```

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/paypronl/omnipay-paypro/issues), or better yet, fork the library and submit a pull request.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Fruitcake Studio](https://github.com/fruitcakestudio)
- [PayPro.nl](https://github.com/paypronl)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance8

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7007dfc4bbaeb197797c731f7ccdad66943b8c326f13a09d16c41f41a2cda523?d=identicon)[PayPro](/maintainers/PayPro)

---

Top Contributors

[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (34 commits)")[![henkjanwils](https://avatars.githubusercontent.com/u/2492710?v=4)](https://github.com/henkjanwils "henkjanwils (3 commits)")

### Embed Badge

![Health badge](/badges/paypronl-omnipay-paypro/health.svg)

```
[![Health](https://phpackages.com/badges/paypronl-omnipay-paypro/health.svg)](https://phpackages.com/packages/paypronl-omnipay-paypro)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
