Download the PHP package futureecom/omnipay-tranzila without Composer
On this page you can find all versions of the php package futureecom/omnipay-tranzila. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download futureecom/omnipay-tranzila
More information about futureecom/omnipay-tranzila
Files in futureecom/omnipay-tranzila
Package omnipay-tranzila
Short Description TranZila driver for the Omnipay payment processing library.
License MIT
Homepage https://futureecom.com
Informations about the package omnipay-tranzila
Omnipay: Tranzila
Tranzila driver for the Omnipay PHP payment processing library
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP. This package implements Tranzila support for Omnipay.
Installation
Omnipay is installed via Composer. To install, simply require league/omnipay
and futureecom/omnipay-tranzila
with Composer:
Basic Usage
For general usage instructions, please see the main Omnipay repository.
The following gateways are supported by this package:
- Authorize
- Capture
- Purchase
- Refund
- Void
Tranzila Documentation
We are not the authors of the Tranzila API! Please direct any questions about Tranzila to Tranzila Support.
Supported currencies
Tranzila supports only four currencies:
- EUR
- GBP
- ILS
- USD
If you will use an unsupported currency, you'll receive an InvalidRequestException
.
Test Mode
The test Tranzila account can be created only by Tranzila Support. Please contact them to create your 'testing terminal'.
You cannot perform authorization on your test account and purchases can be only made up to 10 ILS. When you will try to do either, your request will be refused.
Authorize
Payment authorization can be done in two ways.
First is by transferring card data (not recommended if the site does not meet PCI standards). Second is to redirect customer to secure payment page (iframe).
To generate a redirect link, send the above request skipping the card
part. In response you will receive an url to make the payment.
A link will be generated that can be used to redirect the customer or display in the iframe.
Capture
To capture a payment, you must provide transaction reference.
It is built of two elements that we receive in response to payment authorization -
Index and AuthNr separated by -
for example: 22-000000
.
Warning: If redirect URL was used to authorize the payment, transaction_reference
from notify url will must be used.
Purchase
Purchase is carried out in the same way as authorization.
Refund
Tranzila also supports returns. However, you can only do return on the payment once. Therefore, partial refunds are not supported. It works in the same way as authorization and purchase. While doing refund, you can use TranzilaTK (from notify url) instead of credit card details.
Void
Cancelling a transaction is also supported by Tranzila. To do so, all we have to send is a reference number.
Support
If you are having general issues with Omnipay, we suggest posting on Stack Overflow. Be sure to add the omnipay tag so it can be easily found.
If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.