Download the PHP package ingoskr19/p2p without Composer

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

P2P

P2P package

Requisitos

los campos created_at y updated_at son agregados automaticamente por la clase Model que trae eloquent

Metodos de la clase P2P:

1: public static function getListBanks() 

2: public static function executeTransaction() 

3: public static function getTransacciones($atribute=null,$operator=null, $value=null)

4: public static function verifyEstatusTransactions()

5: public static function createPerson($atributes)

6: public static function createPSETransactionRequest($atributes)

7: public static function createAuth($wsdl, $login, $tranKey, $additional)

8: private static function callWebService($function,$parameters)

ORDEN DE LO METODOS PARA USAR:

A) PARA TRAER LA LISTA DE BANCOS DISPONIBLES:

  1. LLAMAR EL METODO createAuth($wsdl, $login, $tranKey, $additional) *additional es opcional
  2. LLAMAR EL METODO getListBanks() retorna un json con los atributos: bancode, bankname.

B) PARA REALIZAR UNA TRANSACCION:

//el metodo 1 es opcional si ya se hizo el llamado de la lista de bancos.

  1. LLAMAR EL METODO createAuth($wsdl, $login, $tranKey, $additional) *additional es opcional
  2. LLAMAR EL METODO createPSETransactionRequest($atributes) Pasandole como array los atributos respectivos para realizar una transaction.(usar createPerson($atributes) cada vez para crear datos del pagador, el comprador y cobrador)
  3. LLAMAR EL METODO executeTransaction()

C) listar transacciones:

  1. LLAMAR AL METODO getTransactions($atribute=null,$operator, $value=null) *opcional: si se quiere filtrar por un atributo de la tabla, pasar el nombre del atributo, el tipo de condicional u operador y el valor de filtro.

D) PARA VERIFICAR ESTADO DE TODAS LAS TRANSCCIONES CON ESTADO "PENDIG" PARA LAS CUALES HAN PASADO 7 MINUTES MINIMO:

  1. LLAMAR AL METODO createAuth($wsdl, $login, $tranKey, $additional)
  2. LLAMAR AL METODO verifyEstatusTransactions()

All versions of p2p with dependencies

PHP Build Version
Package Version
Requires illuminate/database Version ^5.2
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 ingoskr19/p2p contains the following files

Loading the files please wait ....