tcgunel/omnipay-metropolcard

Omnipay extension for MetropolCard

v1.0.0 2023-10-20 16:05 UTC

This package is auto-updated.

Last update: 2024-11-20 18:46:22 UTC


README

License Buy us a tree PHP Composer

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

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.