PHPackages                             medianova/laravel-payment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. medianova/laravel-payment

ActiveLibrary[Payment Processing](/categories/payments)

medianova/laravel-payment
=========================

Payment package for laravel

v1.3(4y ago)0366mitPHP

Since Sep 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/umutmedianova/medianova-laravel-payment)[ Packagist](https://packagist.org/packages/medianova/laravel-payment)[ RSS](/packages/medianova-laravel-payment/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (5)Versions (6)Used By (0)

Medianova Laravel Payment
=========================

[](#medianova-laravel-payment)

### Support Libraries

[](#support-libraries)

- Quickbooks
- Vakıfbank

### Installation

[](#installation)

You can install the package via composer:

```
composer require medianova/laravel-payment
```

configuration in `config/payment.php`

```
return [
    'provider'=>env('PAYMENT_PROVIDER', 'quickbooks'),
    'vakifbank'=>[
        'base_url' => env('PAYMENT_BASE_URL', 'https://onlineodemetest.vakifbank.com.tr:4443/VposService/v3/Vposreq.aspx'),
        'company_id' =>  env('PAYMENT_NUMBER', '000000000000000'),
        'pos_number' => env('PAYMENT_POS_NUMBER', '00000000'),
        'password' => env('PAYMENT_PASSWORD', '00000000'),
    ],
    'quickbooks'=>[
        'access_token' => env('PAYMENT_ACCESS_TOKEN', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'),
        'refresh_token' => env('PAYMENT_REFRESH_TOKEN', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'),
        'real_me_id' => env('PAYMENT_REAL_ME_ID', 'XXXXXXXXXXXXXXXXXXXX'),
        'client_id' => env('PAYMENT_CLIENT_ID', 'XXXXXXXXXXXXX'),
        'client_secret' => env('PAYMENT_CLIENT_SECRET', 'XXXXXXXXXXXXX'),
        'redirect_url' => env('PAYMENT_REDIRECT_URI', 'https://developer.intuit.com/v2/OAuth2Playground/RedirectUrl'),
        'scope' => env('PAYMENT_OAUTH_SCOPE', 'com.intuit.quickbooks.accounting, openID, profile, phone, address'),
        'base_url' =>  env('PAYMENT_BASE_URL', 'development'),
    ],
];
```

Usage
-----

[](#usage)

```
