Download the PHP package luisurrutia/transbank-soap without Composer

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

Transbank SOAP

Set of utilities to validate and process the XMLs of the SOAP services of Transbank

This library IS NOT an implementation of Webpay Webservices.

The current implementation of the utilities used in the Transbank Webservice SOAP libraries (mid 2018 and before) are modified classes of Rob Richards' libraries (wsse-php and xmlseclibs), possibly because these classes have private and unprotected methods and properties, therefore they cannot be inherited in order to use the properties.

This library uses a different approach after analyzing such implementation, isolating specific functionalities that must be applied to XML to build a valid request.

Installation

Getting started

First you must import this library by making use of the autoloaderthat provides composer or by making individual require or require_once (although perhaps we should kill you if you do the last)

Build the request

Assuming you have a class that inherits from SoapClient, you must implement the __doRequestmethod and within it, you must make use of LuisUrrutia\TransbankSoap\Process to build the XML of the request.

PRIVATE_KEY should be a path of your private key or your private key itself

CERTIFICATE should be a path of your certificate or your certificate itself

Validation of Response

You must get the response from your SOAP client and use LuisUrrutia\TransbankSoap\Validation

$this->soapClient should be an instance of your SoapClient

TBK_CERTIFICATE should be the certificate provided by Transbank

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details


All versions of transbank-soap with dependencies

PHP Build Version
Package Version
Requires robrichards/xmlseclibs Version ^3.0
robrichards/wse-php Version ^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 luisurrutia/transbank-soap contains the following files

Loading the files please wait ....