Download the PHP package krzysiekpiasecki/dotphpay without Composer

On this page you can find all versions of the php package krzysiekpiasecki/dotphpay. 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 dotphpay

Dotphpay

Dotpay is the most comprehensive online worldwilde payments solution dedicated for polish ecommerce. This repository comes with middlewares for payments implementation and validation layer.

Dotpay

Documentation

Are you interested in more details? Here's the complete documentation of API.

Using this library

Install

The source code is distributed via Composer and Packagist.

Payment Middleware

Custom domain payment handler must implement only the interface \Dotpay\Server\Handler\PaymentHandlerInterface. You have to use it at least for persisting client payments, before redirecting the client to the payment gateway.

After implementing the handler, create PSR-15 compatible request object, for example using Zend Diactoros component.

At the end, call the payment middleware to execute your own payment handler and then to send a redirect response to the client using for example Zend Diactoros component.

URLC Middleware

Custom domain URLC handler must implement only the interface \Dotpay\Server\Handler\URLCHandlerInterface. You have to use it to confirm transaction complete or handle status changing.

After implementing the handler, create PSR-15 compatible request object, for example with Zend Diactoros component.

At the end, call the URLC middleware to execute your own URLC handler and then send a response "OK" to Dotpay, when the transaction was handled correctly, using for example Zend Diactoroscomponent.

Error Code Middleware

Custom domain handler for getting error codes from Dotpay server must implement only the interface \Dotpay\Server\Handler\ErrorCodeHandlerInterface.

After implementing the handler, create PSR-15 compatible request object, for example with Zend Diactoros component.

At the end, call the error code middleware to execute your own error code handler.

Validation layer

This library uses Symfony Validator component to validate the request. If you want, you can use validation layer provided by this library standalone. Example of validation is here:

Additional resources

Dotpay Technical Manual For Payments Implementation
Using Symfony Validation component


All versions of dotphpay with dependencies

PHP Build Version
Package Version
Requires symfony/validator Version ^3.4
doctrine/annotations Version ^1.5.1
doctrine/cache Version ^1.7
symfony/form Version ^4.0
symfony/http-foundation Version ^4.0
symfony/security-csrf Version ^4.0
psr/http-server-middleware Version 1.0.0
symfony/psr-http-message-bridge Version ^1.0
zendframework/zend-diactoros Version ^1.7
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 krzysiekpiasecki/dotphpay contains the following files

Loading the files please wait ....