Download the PHP package sol-parts/payum-hutko without Composer

On this page you can find all versions of the php package sol-parts/payum-hutko. 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-hutko

Payum Hutko

Provides Hutko acquiring integration for Payum: hosted checkout with instant debit or two-stage preauth hold payments, and refunds. Hutko speaks the Fondy-compatible protocol 1.0 (JSON, SHA1 merchant signature).

Supported operations:

Payment flow

Authorize creates a preauth payment: the money is locked instead of charged until the store settles or releases it:

While an order is still payable (created / processing) the capture flow does not create a new payment: the returning customer is redirected back to the same Hutko payment page (checkout_url) until the order is paid or expires.

Status mapping

Order status Payum status
created, processing pending
approved with an unsettled preauth authorized — the funds are locked, the store settles via DoCapture
approved captured
reversed refunded — covers both a released hold and a refunded payment; the host application distinguishes them by the previous transaction state
declined failed
expired expired

Hutko has no separate order status for a settled hold — both a successful preauth and its capture report approved. The gateway keeps the stage in the payment details (preauth, captured) and resolves the ambiguity locally.

Installation

Usage with PayumBuilder

Usage with Symfony PayumBundle

Register the gateway factory:

Configure a gateway:

Options

Option Required Description
merchant_id yes Merchant identifier issued by Hutko.
password yes Merchant password. Every request is signed with SHA1 over the pipe-joined non-empty request values, sorted by key, with the password prepended.

There is no sandbox option: Hutko serves live and test traffic on the same endpoint, and testing is done under the dedicated test merchant (1700002 / password test in the official documentation).

Payment details

ConvertPaymentAction fills amount — in minor units (kopecks), as the Fondy protocol expects — along with currency, order_desc and order_id taken from the payment.

The gateway attaches response_url to the long-lived after-URL token and server_callback_url to a notify token, so both survive repeated visits.

Caveats

License

Released under the MIT License.


All versions of payum-hutko with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-json Version *
ext-mbstring Version *
payum/core Version ^1.7
php-http/discovery Version ^1.14
psr/http-factory Version ^1.0
psr/http-message Version ^1.1|^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 sol-parts/payum-hutko contains the following files

Loading the files please wait ...