Download the PHP package darkghosthunter/transbanker without Composer

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

Use Larabanker

This package has been deprecated for a new version, which uses a REST and HTTP Client.

Sharon McCutcheon - Unsplash (UL) #-8a5eJ1-mmQ

Latest Stable Version License Build Status Coverage Status Maintainability Test Coverage

Laravel Transbanker

Transbank API connector for Laravel

This package connects the Transbank API package, which allows you to use Transbank payment gateway, to your Laravel Application.

Requirements

Check older releases for older Laravel versions.

Installation

Call composer and require it into your application.

Configuration

Environment

By default, the package uses integration unless you explicitly set production, which will make all transactions real.

Credentials

The integration environment sets testing credentials automatically, so you don't need to set them unless you want to overwrite one of them.

Otherwise, in production environment, you will need to add your Transbank credentials for your services.

For Webpay, these must be located under storage/transbank/webpay as files. You can overload the default webpay.cert that comes with this package with your own.

For Onepay, you can use the API key and Secret directly.

If your secret has # characters, you may want to enclose it using double quotes ".

That is the basic configuration. If you need to fine tune this package, refer to the Advanced section.

Redirection

This package registers the transbank::webpay-redirect for instant redirection to Webpay. When creating a Webpay Plus or Webpay Oneclick transaction, you can redirect the user instantly to the payment gateway inside your controllers:

Usage

For usage, check the TransbankApi (Spanish, English by Google Translate).

Advanced

To fine tune Transbanker, just publish the config file:

This will publish the transbank.php file in the config directory.

Routes

This package with some default routes for your application (as configured inside config/transbank.php):

Service URL Value
Webpay Plus Return URL http://yourappurl.com/webpay/result
Webpay Plus Final URL http://yourappurl.com/webpay/receipt
Webpay Plus Mall Return URL http://yourappurl.com/webpay/mall/result
Webpay Plus Mall Final URL http://yourappurl.com/webpay/mall/receipt
Webpay Oneclick Response URL http://yourappurl.com/webpay/registration
Onepay Callback URL http://yourappurl.com/onepay/result

You're free to change these URLs.

In any case, be sure to add your logic in these routes to receive Transbank http POST Requests, and remove the csrf middleware since Webpay will need to hit these routes so the payment can be processed.

License

This package is open-sourced software licensed under the MIT license.

Redcompra, Webpay, Onepay, Patpass and tbk are trademarks of Transbank S.A.

This package is not developed, approved, supported nor endorsed by Transbank S.A., nor by a natural person or company linked directly or indirectly by Transbank S.A.


All versions of transbanker with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3||^7.4||^8.0
illuminate/http Version ^6.0||^7.0||^8.0
illuminate/events Version ^6.0||^7.0||^8.0
illuminate/config Version ^6.0||^7.0||^8.0
illuminate/support Version ^6.0||^7.0||^8.0
illuminate/view Version ^6.0||^7.0||^8.0
darkghosthunter/transbank-api 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 darkghosthunter/transbanker contains the following files

Loading the files please wait ....