Download the PHP package tcgunel/omnipay-moka without Composer
On this page you can find all versions of the php package tcgunel/omnipay-moka. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tcgunel/omnipay-moka
More information about tcgunel/omnipay-moka
Files in tcgunel/omnipay-moka
Package omnipay-moka
Short Description Omnipay extension for Moka
License MIT
Homepage https://github.com/tcgunel/omnipay-moka
Informations about the package omnipay-moka
Omnipay: Moka
Moka gateway for the Omnipay PHP payment processing library
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP. This package implements Moka support for Omnipay.
Installation
Usage
Gateway Setup
Non-3D Purchase
3D Secure Purchase
Complete Purchase (3D callback)
Payment Status
GetDealerPaymentTrxDetailList is also the payment-status endpoint. Query it by
the same otherTrxCode sent with the purchase to reconcile an order after a
lost/duplicated 3D callback:
A query for an unknown otherTrxCode returns ResultCode=Success with
PaymentDetail=null — that is a definitive "no payment record", not an API
error. isSuccessful() only returns true when the payment was captured.
Cancel (Void)
Refund
BIN Lookup
Installment Query
Endpoints
| Environment | URL |
|---|---|
| Test | https://service.refmoka.com |
| Live | https://service.moka.com |
Authentication
Moka uses CheckKey-based authentication:
This is generated automatically by the gateway.
Currency
Omnipay uses ISO currency codes (TRY, USD, EUR, GBP). The gateway automatically maps TRY to Moka's TL format.
Testing
License
MIT