PHPackages                             sisow/php-client - 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. sisow/php-client

ActiveLibrary[Payment Processing](/categories/payments)

sisow/php-client
================

PHP client to integrate Sisow payment methods

1.0.2(5y ago)114.1k1MITPHPPHP &gt;=7.0.7CI failing

Since Nov 20Pushed 5y ago3 watchersCompare

[ Source](https://github.com/Sisow/php-client)[ Packagist](https://packagist.org/packages/sisow/php-client)[ Docs](https://www.sisow.nl)[ RSS](/packages/sisow-php-client/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

Sisow PHP Library
=================

[](#sisow-php-library)

With this library you can easily connect your custom website/webshop to Sisow.

Getting Started
---------------

[](#getting-started)

These instructions will get you a copy of the project up and running.

### Prerequisites

[](#prerequisites)

Your web server needs to support at least the following.

```
PHP 7.0.7 or higher
PHP cURL extension installed

```

### Installing

[](#installing)

Installing this package can easily by composer.

```
$ composer require sisow/php-client:^1.0

{
    "require": {
        "sisow/php-client": "^1.0"
    }
}

```

Getting started
---------------

[](#getting-started-1)

First you need to initialize the Sisow client and set your Merchant ID and Merchant Key. Optional to set your Shop ID.

```
$sisow = new \Sisow\SisowClient();
$sisow->setApiKey('merchantID', 'merchantKey', 'shopID');

```

If you initialized the client you can create your first payment. Below is an example of the request with the required parameters. For all the parameters download our [API documentation](https://www.sisow.nl/developers/).

```
$payment = $sisow->transactions->create([
    "payment" => 'ideal',
    "purchaseid" => 'orderID',
    "amount" => 100, // amount is in cents (100 equals 1,00)
    "description" => 'Webshop Order #', // description for consumer bank statement
    "returnurl" => 'https://mywebshop.com'
]);

```

After creating the payment you can access the payment status by the $payment-&gt;status parameter, this parameter can have the value Open, Pending or Reservation. Optional you can save the $payment-&gt;transactionId parameter to the database (this parameter is empty when payment equals ideal and no issuerid is set).

```
switch($payment->status){
    case 'Pending':
        // set order state to pending
        break;
    case 'Reservation':
        // set order state to reservation
        break;
    default:
        // status open, send consumer to the issuer URL to complete the payment
        header('Location: ' . $payment->issuerUrl);
        exit;
}

```

If the request for some reason fails a \\Sisow\\Exceptions\\SisowException will be thrown. You can intercept this with a try/catch block.

### Retrieve payment

[](#retrieve-payment)

If you want to know the actual payment status, you can retrieve the payment.

```
$payment = $sisow->transactions->get('sisowTransactionId');

```

### Refunding payment

[](#refunding-payment)

All the payment methods except the Giftcards and Pay Later payment methods support the refund API. For the pay later methods you need to use the invoices endpoint.

```
$refundId = $sisow->transactions->refund('sisowTransactionId', 100); // 100 is amount in cents (100 equals 1,00)

```

Unit Testing
------------

[](#unit-testing)

If you want to execute the unit test you need to insert your Merchant ID and Merchant key to the class 'Tests\\Sisow\\Helpers\\SisowClientTestHelper'.

Once added you can execute all the unit test except the AdjustPurchaseIdTest and RefundRequestTest. For these test you need to add the missing information at the top of the function.

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

[](#contributing)

We are open for suggestion on our code, if you want to make a contribution you can submit a pull request.

Versioning
----------

[](#versioning)

For the versions available, see the [tags on this repository](https://github.com/Sisow/php-client/tags).

Authors
-------

[](#authors)

- **Mark van Haaren** - *Initial work* - [Sisow B.V.](https://www.sisow.nl)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~300 days

Total

2

Last Release

2116d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10243648?v=4)[Buckaroo (former Sisow)](/maintainers/sisow)[@Sisow](https://github.com/Sisow)

---

Top Contributors

[![roland-d](https://avatars.githubusercontent.com/u/359377?v=4)](https://github.com/roland-d "roland-d (1 commits)")

---

Tags

paymentpaypalidealcreditcardsofortklarnabancontactafterpayvisamastercardepssisowgiropay

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sisow-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/sisow-php-client/health.svg)](https://phpackages.com/packages/sisow-php-client)
```

###  Alternatives

[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

60216.0M84](/packages/mollie-mollie-api-php)[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.5M36](/packages/mollie-laravel-mollie)[mollie/oauth2-mollie-php

Mollie Provider for OAuth 2.0 Client

261.8M1](/packages/mollie-oauth2-mollie-php)[mollie/magento

iDEAL, Creditcard, Bancontact/Mister Cash, SOFORT, Bank transfer, Bitcoin, PayPal &amp; paysafecard for Magento https://www.mollie.com/

407.9k](/packages/mollie-magento)[mage2pro/stripe

Stripe integration with Magento 2

595.3k](/packages/mage2pro-stripe)

PHPackages © 2026

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