tcgunel / omnipay-metropolcard
Omnipay extension for MetropolCard
v1.0.0
2023-10-20 16:05 UTC
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.