faiverson/merchants

Using a merchant handler to use with laravel

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/faiverson/merchants

v1.0.0 2016-05-09 03:11 UTC

This package is not auto-updated.

Last update: 2025-10-12 01:08:14 UTC


README

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