PHPackages                             dachcom-digital/payum-postfinance - 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. dachcom-digital/payum-postfinance

ActiveLibrary[Payment Processing](/categories/payments)

dachcom-digital/payum-postfinance
=================================

PostFinance Ecommerce for Payum

v2.0.0(3y ago)32.9k21GPL-3.0-or-laterPHP

Since Jan 10Pushed 3y ago9 watchersCompare

[ Source](https://github.com/dachcom-digital/payum-postfinance)[ Packagist](https://packagist.org/packages/dachcom-digital/payum-postfinance)[ RSS](/packages/dachcom-digital-payum-postfinance/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (2)Versions (9)Used By (1)

Payum PostFinance
=================

[](#payum-postfinance)

Important Information
---------------------

[](#important-information)

PostFinance fires the callback page **twice** if the user clicks the *"abort"* or *"ok"* button. You need to implement a custom HttpRequestVerifierBuilder like [here](https://github.com/coreshop/PayumPostFinanceBundle/blob/master/src/CoreShop/Payum/PostFinance/Security/HttpRequestVerifier.php#L54) to disable the token invalidation!

PostFinance Backend Configuration
---------------------------------

[](#postfinance-backend-configuration)

1. In the Global Security Parameters tab, choose "each parameter followed by the passphrase."
2. The Hash algorithm needs to be SHA-512
3. Make sure to provide an SHA-IN pass phrase in "data and origin verification" tab
4. Check "I would like to receive transaction feedback parameters on the redirection URLs and supply a SHA-OUT pass phrase." in "Transaction feedback"

Server To Server
----------------

[](#server-to-server)

You may want to enable the server-to-server functionality: Go to "Transaction feedback" and set "Direct HTTP server-to-server request" to "Always deferred (not immediately after the payment)." for example. In both URL fields you need to add `http://your-domain.com/payment/notify/`. Note the `` var. It gets replaced by postFinance.

**Important:** Set "Request method" to "GET" since the notifyAction only listens to the request query.

Offline Authorisation
---------------------

[](#offline-authorisation)

If you have enabled "Authorisation" in "Global transaction parameters -&gt; Default Operation Code", you need to enable the request for status changes: Go to "Transaction feedback -&gt; HTTP request for status changes" and set "Timing of the request" to "For each offline status change (payment, cancellation, etc.)." In the URL field add the same url as in section "HTTP server-to-server request".

Language Parameter
------------------

[](#language-parameter)

The `LANGUAGE` Parameter cannot be set in the ConvertPaymentAction since there is no general language getter available in Payum. To add this field you need to add a custom Extension (Check [this file](https://github.com/coreshop/PayumPostFinanceBundle/blob/master/src/CoreShop/Payum/PostFinance/Extension/ConvertPaymentExtension.php#L41) to get the Idea).

### Required Parameters

[](#required-parameters)

These Fields are required:

- `environment` (default 'Test')
- `shaInPassphrase`
- `shaOutPassphrase`
- `pspid`

### Optional Parameters

[](#optional-parameters)

You can pass optional parameters to the `optionalParameters` config node. You'll find all available fields [here](https://e-payment.postfinance.ch/ncol/param_cookbook.asp).

To-Do
-----

[](#to-do)

- Handle deprecated tokens?

Copyright and License
---------------------

[](#copyright-and-license)

Copyright: [DACHCOM.DIGITAL](http://dachcom-digital.ch)For licensing details please visit [LICENSE.md](LICENSE.md)

### v2.0.0

[](#v200)

- Bump dependencies, code improvements

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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 ~267 days

Recently: every ~393 days

Total

8

Last Release

1218d ago

Major Versions

v1.0.5 → v2.0.02023-02-28

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/700119?v=4)[Stefan Hagspiel](/maintainers/solverat)[@solverat](https://github.com/solverat)

---

Top Contributors

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

---

Tags

ecommercepayumpostfinancepaymentecommercepostfinance

### Embed Badge

![Health badge](/badges/dachcom-digital-payum-postfinance/health.svg)

```
[![Health](https://phpackages.com/badges/dachcom-digital-payum-postfinance/health.svg)](https://phpackages.com/packages/dachcom-digital-payum-postfinance)
```

###  Alternatives

[paymentsuite/paymentsuite

PaymentSuite is an easy implementation for lot of Payment Methods for Symfony projects

2615.7k2](/packages/paymentsuite-paymentsuite)

PHPackages © 2026

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