tcgunel / omnipay-metropolcard
Omnipay extension for MetropolCard
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/tcgunel/omnipay-metropolcard
Requires
- php: ^7.4|^8.0
 - ext-json: *
 - ext-openssl: *
 - league/omnipay: ^3
 - phpseclib/phpseclib: ^2.0
 
Requires (Dev)
README
Omnipay MetropolCard Gateway
Omnipay gateway for MetropolCard. All the methods of MetropolCard implemented for easy usage.
MetropolCard ile ödeme almaya yardımcı php class.
Requirements
| PHP | Package | 
|---|---|
| ^7.4-^8.0 | v1.0.0 | 
Installment
composer require tcgunel/omnipay-metropolcard
Usage
Please see the Wiki page for detailed usage of every method.
Methods
- generateToken() // Bearer token oluştur.
 - createCode() // QR kod oluşturarak satış.
 - querySaleInfo() // createCode ile oluşturulan satışın durumu.
 - sendOtp() // Otp gönder.
 - saleWithOtp() // Otp ile satış.
 - usableWalletList() // Kullanıcı cüzdanları.
 - refund() // İptal/İade.
 
Tests
composer test
For windows:
vendor\bin\paratest.bat
Treeware
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.