Download the PHP package dachcom-digital/payum-postfinance without Composer

On this page you can find all versions of the php package dachcom-digital/payum-postfinance. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package payum-postfinance

Payum PostFinance

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 to disable the token invalidation!

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

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/<PARAMVAR>. Note the <PARAMVAR> var. It gets replaced by postFinance.

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

Offline Authorisation

If you have enabled "Authorisation" in "Global transaction parameters -> Default Operation Code", you need to enable the request for status changes: Go to "Transaction feedback -> 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

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 to get the Idea).

Required Parameters

These Fields are required:

Optional Parameters

You can pass optional parameters to the optionalParameters config node. You'll find all available fields here.

To-Do

Copyright and License

Copyright: DACHCOM.DIGITAL For licensing details please visit LICENSE.md

v2.0.0


All versions of payum-postfinance with dependencies

PHP Build Version
Package Version
Requires payum/core Version ^1.6
wysow/postfinance Version ~3.2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dachcom-digital/payum-postfinance contains the following files

Loading the files please wait ....