tomaj / omnipay-tatra
Tatrabank driver for the Omnipay payment processing library
Installs: 79 210
Dependents: 1
Suggesters: 0
Security: 0
Stars: 5
Watchers: 4
Forks: 12
Open Issues: 7
Requires
- ext-hash: *
- ext-openssl: *
- ext-simplexml: *
- ext-soap: *
- omnipay/common: ~3.0
Requires (Dev)
- omnipay/tests: ~3.0|^4.0
- squizlabs/php_codesniffer: 3.*
This package is auto-updated.
Last update: 2024-12-21 20:30:47 UTC
README
ComfortPay
ChargeRequest
Method to create transaction with registered card.
Parameters:
transactionId
(required) - Unique ID of transactionparentTransactionId
(optional) - Unique ID of parent transaction. Mandatory for transactionType PREAUTH-CONFIRM, PREAUTH-CANCEL and CHARGEBACKtransactionType
(required) - transaction type, allowed options: PURCHASE, PREAUTHORIZATION, PREAUTH-CONFIRM, PREAUTH-CANCEL, CHARGEBACKreferedCardId
(required) - The registration ID of cardws
(required) - Merchant IDterminalId
(required) - Terminal IDamount
(required) - Amount of transactioncurrency
(required) - Currency of transaction (ISO 4217 currency codes)vs
(required if e2eReference is empty) - Variable symbolss
(required if e2eReference is empty) - Specific symbole2eReference
(required if vs and ss are empty) - E2E referencesubmerchantId
(required only if sending IPSPS Data)- IPSP Data - Submerchant IDlocation
(required only if sending IPSPS Data) - IPSP Data - Location, string max length 25 symbolscity
(required only if sending IPSPS Data) - IPSP Data - city, string max length 13 symbolsalpha2CountryCode
(required only if sending IPSPS Data) - IPSP Data - ISO 3166-1 alpha-2 code
Return:
CardTransactionResponse
transactionId
- Unique ID of transactiontransactionStatus
- Status code of transaction (see transaction's status codes)transactionApprova
- Autorization code
CheckCardRequest
Method to check the status of registered card.
Parameters:
idOfCard
- The registration ID of card
Return:
CheckCardResponse
status
- (OK, FAIL, UNKNOWN)
TransactionStatusRequest
Method to check the status of transaction.
Parameters:
transactionId
- Unique ID of transaction
Return:
CardTransactionResponse
transactionId
- Unique ID of transactiontransactionStatus
- Status code of transaction (see transaction's status codes)transactionApproval
- Autorization code
ListOfExpiredRequest
Method to get the list of expired cards with expiration date after requested one.
Parameters:
expDate
(required) - Expiration date (format: YYYYMMDD)
Return:
ListOfExpiredResponse
list
- array of card ids
ListOfExpiredPerIdRequest
Method to get the expiration date of cards specified in request.
Parameters:
listOfIdCards
- array of card registration IDs (max 1000)
Return:
ListOfExpiredPerIdResponse
listOfIdCards
- array of pairs idOfCard and expiration date
UnRegisterCardRequest
Method to unregister comfortpay card
Parameters:
cardId
- card identifier
Return:
UnRegisterCardResopnse n/a