PHPackages                             jaddek/ixopay-sdk-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. jaddek/ixopay-sdk-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

jaddek/ixopay-sdk-php
=====================

Ixopay (v3) http api client

37PHP

Since Dec 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jaddek/ixopay-sdk-php)[ Packagist](https://packagist.org/packages/jaddek/ixopay-sdk-php)[ RSS](/packages/jaddek-ixopay-sdk-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Samples
=======

[](#samples)

In ./examples folder.

Credentials:

```
$user = '';
$password = '';
$apiKey = '';
$sharedSecret = '';
```

Basic usage
===========

[](#basic-usage)

Credentials
-----------

[](#credentials)

### Api User Credentials

[](#api-user-credentials)

**$user** and **$password** location here:

```
Merchant Configuration
-->Merchants
---->Choose more for merchant
------>Users:

-> fields username and password

```

```
$userCredentials = new \Jaddek\Ixopay\Http\UserCredentials($user, $password);
```

### Connector Credentials

[](#connector-credentials)

**$apiToken** and **$sharedSecret** location here:

```
Merchant Configuration
-->Merchants
--->Connectors
---->Edit:

-> fields ApiKey and SharedSecret

```

```
$connectorCredentials = \Jaddek\Ixopay\Http\ConnectorCredentials::class($apiKey, $sharedSecret);
```

Environment
-----------

[](#environment)

There are two environments: sandbox and production.

**Sandbox** mode available by

```
\Jaddek\Ixopay\Http\FactorySandbox::class
```

**Production** mode available by

```
\Jaddek\Ixopay\Http\Factory::class
```

These factories make an HttpClient related to each environment. Urls are hardcoded.

If you don't want to use factory, just create a HttpClient.

```
Symfony\Component\HttpClient\HttpClient::createForBaseUri(self::getHost());
```

Endpoints
---------

[](#endpoints)

- [Scheduling](https://gateway.ixopay.com/documentation/apiv3#schedule-request)
- [Transactions](https://gateway.ixopay.com/documentation/apiv3#transaction-request)

```
$endpoint = \Jaddek\Ixopay\Http\FactorySandbox::buildEndpoint(
    \Jaddek\Ixopay\Http\Endpoint\Transactions::class,
);

new \Jaddek\Ixopay\Http\Endpoint\Transactions($httpClient, $logger);
```

### Methods

[](#methods)

Each endpoint has all methods related to API documentation:

All methods work through DTO objects, so the majority of fields and ENUMs are available by suggestions.

```
// build a DTO
$debit = new \Jaddek\Ixopay\Http\Request\Transaction\TransactionDebit(
    merchantTransactionId: time(),
    amount: 10,
    currency: 'EUR'
);

//Make a call
$result = $endpoint->debit(
    $debit,
    $connectorCredentials,
    $userCredentials
);

// Response
$result->toArray();
```

Hydrator
--------

[](#hydrator)

You can use Providers that hydrate the whole response to object.

```
$provider = new \Jaddek\Ixopay\Http\Provider\TransactionHydrationProvider($endpoint);

$object = $provider->debit(
    $debit,
    $connectorCredentials,
    $userCredentials
);

print_r($object->getErrors());
print_r($object->getRedirectUrl());
```

Example
=======

[](#example)

```
$userCredentials      = new \Jaddek\Ixopay\Http\UserCredentials($user, $password);
$connectorCredentials = new \Jaddek\Ixopay\Http\ConnectorCredentials($apiToken, $sharedSecret);

$endpoint = \Jaddek\Ixopay\Http\FactorySandbox::buildEndpoint(
    \Jaddek\Ixopay\Http\Endpoint\Transactions::class,
);

$debit = new \Jaddek\Ixopay\Http\Request\Transaction\TransactionDebit(
    merchantTransactionId: time(),
    amount: 10,
    currency: 'EUR'
);

$result = $endpoint->debit(
    $debit,
    $connectorCredentials,
    $userCredentials
);

print_r($result->toArray());
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d75e9b381ffb3b470a451e386e38ffb801ef5211af74ca3f0f99001dcab98e5?d=identicon)[jaddek](/maintainers/jaddek)

---

Top Contributors

[![jaddek](https://avatars.githubusercontent.com/u/10332802?v=4)](https://github.com/jaddek "jaddek (4 commits)")

### Embed Badge

![Health badge](/badges/jaddek-ixopay-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/jaddek-ixopay-sdk-php/health.svg)](https://phpackages.com/packages/jaddek-ixopay-sdk-php)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M317](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M292](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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