faiverson / merchants
Using a merchant handler to use with laravel
v1.0.0
2016-05-09 03:11 UTC
Requires
- php: >=5.6.0
- anlutro/curl: ^1.4
- illuminate/config: ~5.2
- illuminate/console: ~5.2
- illuminate/support: ~5.2
- stripe/stripe-php: 3.*
This package is not auto-updated.
Last update: 2025-02-01 21:36:10 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