faiverson / merchant-handler by faiverson

Using a merchant handler to use with laravel
4
0
1
Package Data
Maintainer Username: faiverson
Maintainer Contact: fa.iverson@gmail.com (Fabian Torres)
Package Create Date: 2016-05-08
Package Last Update: 2016-05-09
Language: PHP
License: MIT
Last Refreshed: 2025-02-06 15:00:54
Package Statistics
Total Downloads: 4
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Merchant Handler

Use different merchant with Laravel for a direct sale/transaction

Installation

Using composer composer require merchant-handler Or add to composer.json "faiverson/merchant-handler" : "^1.0.0"

How to use

Go to the app.php and add in the providers: composer require merchant-handler Faiverson\Merchant\MerchantServiceProvider::class,

The you can inject the dependency in your object 'use Faiverson\Merchant\contract\Merchant;'

public function __construct(Merchant $merchant)

And you can use the 2 methods: purchase and refund