PHPackages                             paysera/lib-checkout-integration-sdk - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. paysera/lib-checkout-integration-sdk

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

paysera/lib-checkout-integration-sdk
====================================

Paysera PHP checkout integration SDK

2.3.0(1w ago)00LGPL-3.0-or-laterPHPPHP ^7.4 || ^8.0

Since Jul 17Pushed 1w agoCompare

[ Source](https://github.com/paysera/lib-checkout-integration-sdk)[ Packagist](https://packagist.org/packages/paysera/lib-checkout-integration-sdk)[ RSS](/packages/paysera-lib-checkout-integration-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (18)Versions (2)Used By (0)

Checkout integration SDK
------------------------

[](#checkout-integration-sdk)

[![Packagist Version](https://camo.githubusercontent.com/0d69dacd399fe55c0f48cc2cd40ae1ce487010584283797b0e4945cbb004ab6b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706179736572612f6c69622d636865636b6f75742d696e746567726174696f6e2d73646b2e737667)](https://packagist.org/packages/paysera/lib-checkout-integration-sdk)[![Packagist Downloads](https://camo.githubusercontent.com/0cb75d67e6601bdacee25995dbc3e08b46fc0e2792c6dee7e404865d1c7e6bfe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706179736572612f6c69622d636865636b6f75742d696e746567726174696f6e2d73646b2e737667)](https://packagist.org/packages/paysera/lib-checkout-integration-sdk)[![License: LGPL-3.0-or-later](https://camo.githubusercontent.com/e9960a4300c4eabf884238c727a3328051216e98fa4e2f4242778c5695599b87/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4c47504c253230332e302d2d6f722d2d6c617465722d626c75652e737667)](LICENSE)

Paysera PHP SDK for integrating with the Paysera Checkout v3 API: payment initiation, callback verification, refunds, project eligibility, and localization — with a single `SdkFacade` entry point.

Supported PHP versions
----------------------

[](#supported-php-versions)

PHP 7.4, 8.0, 8.1, 8.2, 8.3, and 8.4. The minimum requirement is declared in `composer.json` as `^7.4 || ^8.0`.

Requirements
------------

[](#requirements)

- PHP 7.4 or higher
- `ext-curl`
- `ext-json`

Installation
------------

[](#installation)

Install via Composer:

```
composer require paysera/lib-checkout-integration-sdk
```

Obtaining sandbox credentials
-----------------------------

[](#obtaining-sandbox-credentials)

A sandbox project with API credentials is required to run the SDK end to end. Self-service onboarding for external integrators is documented on the Paysera developer portal at .

Code style
----------

[](#code-style)

[PSR-12](https://www.php-fig.org/psr/psr-12). Built on top of [PSR](https://www.php-fig.org/psr/) standards (PSR-3 logging, PSR-6 cache, PSR-18 HTTP client, PSR-20 clock).

Features
--------

[](#features)

- **JWT Token Validation**: Automatic validation of JWT tokens with project ID extraction
- **PSR-Compliant Caching**: Configurable cache pool for improved performance
- **Payment Processing**: Full payment order creation and link generation
- **Callback Processing**: Secure webhook verification and processing
- **Project Eligibility**: Single-call eligibility check that combines payment-collection status and store-URL verification, with deterministic `failed_to_check` fallback for retry UX
- **Translations**: Namespace-based localization with SDK and plugin translation merging
- **Multiple Environments**: Support for both production and sandbox environments

Quick Start
-----------

[](#quick-start)

```
