All Projects → mewebstudio → laravel-pos

mewebstudio / laravel-pos

Licence: MIT, Unknown licenses found Licenses found MIT LICENSE Unknown LICENCE.md
Türk bankaları için sanal pos paketi (Laravel 5/6/7/8)

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to laravel-pos

EPAYMENT
EPayment - Multi Payment Provider for .Net Core
Stars: ✭ 43 (-29.51%)
Mutual labels:  garanti, sanalpos, 3dpay
nestpay.go
Asseco NestPay (EST) Virtual POS API with golang
Stars: ✭ 22 (-63.93%)
Mutual labels:  est, sanalpos
GarantiVp
Garanti Bankası Sanal Pos İstemcisi
Stars: ✭ 65 (+6.56%)
Mutual labels:  garanti, sanalpos
store-pos
It is java accounting software basically developed using javafx which has various modules like purchase, sales, receipts, payments, and journals.
Stars: ✭ 84 (+37.7%)
Mutual labels:  pos
blockchain consensus algorithm
代码实现五种区块链共识算法 The code implements five blockchain consensus algorithms
Stars: ✭ 251 (+311.48%)
Mutual labels:  pos
ESCPOS
A ESC/POS Printer Commands Helper
Stars: ✭ 26 (-57.38%)
Mutual labels:  pos
nltk-maxent-pos-tagger
maximum entropy based part-of-speech tagger for NLTK
Stars: ✭ 45 (-26.23%)
Mutual labels:  pos
quicktill
Figure out where all the money and stock went to
Stars: ✭ 29 (-52.46%)
Mutual labels:  pos
ThreeDPayment
Est altyapısına sahip tüm bankalarla uyumlu 3DPay model sanal pos örneği - ASP.NET Core 3.1 ile yazılan yeni version https://github.com/sefacan/3DPaymentAspNetCore
Stars: ✭ 29 (-52.46%)
Mutual labels:  3dpay
flutter-pos
A mobile POS app written with Flutter, compatible Sunmi device
Stars: ✭ 106 (+73.77%)
Mutual labels:  pos
citar
Citar HMM part-of-speech tagger
Stars: ✭ 16 (-73.77%)
Mutual labels:  pos
AngularPos
A real-time, simple web Point of Sale system written with Angular 12, Firebase (Cloud Firestore), Bootstrap 4 and PrimeNg
Stars: ✭ 67 (+9.84%)
Mutual labels:  pos
RcppMeCab
RcppMeCab: Rcpp Interface of CJK Morpheme Analyzer MeCab
Stars: ✭ 24 (-60.66%)
Mutual labels:  pos
bizbook-client
The repository of bizbook client project
Stars: ✭ 28 (-54.1%)
Mutual labels:  pos
NotrinosERP
A web-based erp, accounting system that written in PHP and MySql includes Sales, Purchasing, Warehousing, Manufacturing, Human Resource... It supports multi user, multi currencies, multi languages.
Stars: ✭ 46 (-24.59%)
Mutual labels:  pos
ezdmb
A dead-simple digital menu board display and configuration, written in Python.
Stars: ✭ 17 (-72.13%)
Mutual labels:  pos
open-pos
Open Source Point of Sale System.
Stars: ✭ 52 (-14.75%)
Mutual labels:  pos
rpicore
RPICoin - Proof of Stake Cryptocurrency
Stars: ✭ 16 (-73.77%)
Mutual labels:  pos
chrome-raw-print
Chrome app to enable raw printing from a browser
Stars: ✭ 57 (-6.56%)
Mutual labels:  pos
escpos-tools
Utilities to read ESC/POS print data
Stars: ✭ 145 (+137.7%)
Mutual labels:  pos

Türk bankaları için sanal pos paketi (Laravel)

Temel Paket

Pos

Minimum Gereksinimler

  • PHP >= 7.1.3
  • ext-dom
  • ext-json
  • ext-openssl
  • ext-SimpleXML

Kurulum

$ composer require mews/laravel-pos

Laravel 5.6 için

$ composer require --no-update "mews/laravel-pos:0.2.0"
$ composer update

config/app.php dosyasındaki providers kısmına aşağıdaki kodu ekleyin:

'providers' => [
    // ...
    Mews\LaravelPos\LaravelPosServiceProvider::class,
]

config/app.php dosyasındaki aliases kısmına aşağıdaki kodu ekleyin:

'aliases' => [
    // ...
    'LaravelPos' => Mews\LaravelPos\Facades\LaravelPos::class,
]

Konsolda, proje ana dizinindeyken aşağıdaki komut girilir:

$ php artisan vendor:publish --provider="Mews\LaravelPos\LaravelPosServiceProvider"

Kullanım

$pos = \Mews\LaravelPos\Facades\LaravelPos::instance();

$pos->account([
    'bank'          => 'akbank',
    'model'         => 'regular',
    'client_id'     => 'XXXXX',
    'username'      => 'XXXXX',
    'password'      => 'XXXXX',
    'env'           => 'test',
]);

$order = [
    'id'            => 'unique-order-id-' . str_random(16),
    'name'          => 'John Doe', // optional
    'email'         => '[email protected]', // optional
    'user_id'       => '12', // optional
    'amount'        => (double) 100,
    'installment'   => '0',
    'currency'      => 'TRY',
    'ip'            => request()->ip(),
    'transaction'   => 'pay', // pay => Auth, pre PreAuth
];

$card = [
    'number'        => 'XXXXXXXXXXXXXXXX',
    'month'         => 'XX',
    'year'          => 'XX',
    'cvv'           => 'XXX',
];

$pos->prepare($order);

$payment = $pos->payment($card);

dd($payment->response);

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].