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

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

Payum Monobank

Provides monobank acquiring (plata by mono) integration for Payum: hosted checkout with instant debit or two-stage hold payments, refunds and ECDSA-signed webhooks.

Supported operations:

Payment flow

Authorize creates a hold payment: the money is locked instead of charged, and monobank auto-reverses the hold after 9 days unless it is finalized:

A failed payment attempt (3-D Secure decline, timeout) does not kill the invoice: monobank allows retries by the same invoiceId, so the gateway keeps such a payment pending and sends the returning customer back to pageUrl until the invoice expires.

Installation

Usage with PayumBuilder

Usage with Symfony PayumBundle

Register the gateway factory:

Configure a gateway:

Options

Option Required Description
x-token yes Merchant token from the monobank acquiring dashboard, sent as the X-Token header on every API call.

Payment details

ConvertPaymentAction fills amount (minor units — kopecks), ccy (numeric ISO 4217) and merchantPaymInfo with reference (the payment number, always cast to string — monobank rejects a numeric one with INVALID_MERCHANT_PAYM_INFO) and destination.

The gateway itself defaults validity to 24 hours, attaches redirectUrl to the long-lived after-URL token and webHookUrl to a notify token, so both survive repeated visits.

A basketOrder supplied by the host application is validated the way monobank does — Σ(sum × qty) must equal amount, where sum is the price of a single unit. A basket whose lines carry the line total instead (Σ(sum) === amount) is transparently rebuilt into unit prices, splitting a non-divisible remainder across quantity rows; a basket matching neither formula is passed through untouched.

Caveats

License

Released under the MIT License.


All versions of payum-monobank with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-json Version *
ext-mbstring Version *
ext-openssl 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
psr/log Version ^1.1|^2.0|^3.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-monobank contains the following files

Loading the files please wait ...