PHPackages                             fixsoftware/webpay-ws-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. fixsoftware/webpay-ws-php

ActiveLibrary

fixsoftware/webpay-ws-php
=========================

GP Webpay WS API

332.7k↓30%4[1 PRs](https://github.com/fixsoftware/gp-webpay-ws-php-sdk/pulls)PHP

Since Sep 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/fixsoftware/gp-webpay-ws-php-sdk)[ Packagist](https://packagist.org/packages/fixsoftware/webpay-ws-php)[ RSS](/packages/fixsoftware-webpay-ws-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

GP Webpay WebService PHP SDK
============================

[](#gp-webpay-webservice-php-sdk)

PHP SDK for [GP Webpay WebService payments](http://www.gpwebpay.cz).

For HTTPS API, please use [GP Webpay PHP SDK](https://github.com/newPOPE/gp-webpay-php-sdk).

Before implementation, please read the docs from vendor first!

!! This SDK is not full featured yet. It's tested for recurring payments only but it's simply extensible. Feel free to create pull-request if you extend it in any way.

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

[](#installation)

```
composer require fixsoftware/webpay-ws-php dev-master
```

Setup
-----

[](#setup)

```
$webpayWSConfig = new FixSoftware\WebpayWS\Config([
    'merchantNumber' => $merchantNumber, // Merchant number
    'provider' => $provider, // Your paygate provider number from documentation
    'serviceUrl' => $webpayUrl, // URL of webpay WS service
    'wsdlPath' => $wsdlPath, // WSDL file path (absolute)
    'signerPrivateKeyPath' => $signerPrivateKeyPath, // Path to the private key (absolute)
    'signerPrivateKeyPassword' => $signerPrivateKeyPassword, // Password for private key
    'signerGpPublicKeyPath' => $signerGpPublicKeyPath, // Path to the public key (absolute)
    'signerLogPath' => $signerLogPath // Path to log file for logging requests and responses signed/verified by Signer
]);
```

How to make a call
------------------

[](#how-to-make-a-call)

```
$webpayWS = new FixSoftware\WebpayWS\Api($webpayWSConfig);

// process master payment status
try {

    // call WS for master payment status
    $response = $this->webpayWS->call(
        $webserviceMethod, // WS action name (see WS docs)
        [
            // request params (see WS docs)
        ]
    );
    $response_params = $response->getParams(); // gets response parameters

    // in case of WS error (WS error response)
    if($response->hasError()) {
        $error = $response->getError();
        // do something
    }

// in case of exception (SDK exception)
} catch(FixSoftware\WebpayWS\ApiException $e) {
    $exception = $e->getMessage();
    // do something
}
```

Response status constants
-------------------------

[](#response-status-constants)

```
FixSoftware\WebpayWS\Response::STATUS_MASTER_RECURRING_CREATED
FixSoftware\WebpayWS\Response::STATUS_MASTER_RECURRING_PENDING_SETTLEMENT
FixSoftware\WebpayWS\Response::STATUS_MASTER_RECURRING_CANCELED_BY_MERCHANT
FixSoftware\WebpayWS\Response::STATUS_MASTER_RECURRING_CANCELED_BY_ISSUER
FixSoftware\WebpayWS\Response::STATUS_MASTER_RECURRING_CANCELED_BY_CARDHOLDER
FixSoftware\WebpayWS\Response::STATUS_MASTER_RECURRING_EXPIRED_CARD
FixSoftware\WebpayWS\Response::STATUS_MASTER_RECURRING_EXPIRED_NO_PAYMENT
FixSoftware\WebpayWS\Response::STATUS_MASTER_RECURRING_VALID

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity28

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/192965e2e4fc1d8235b57ee9b2e96e20a0bff64203b5f143ddca26cc40b19957?d=identicon)[fix](/maintainers/fix)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/fixsoftware-webpay-ws-php/health.svg)

```
[![Health](https://phpackages.com/badges/fixsoftware-webpay-ws-php/health.svg)](https://phpackages.com/packages/fixsoftware-webpay-ws-php)
```

PHPackages © 2026

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