Download the PHP package oveland/placetopay without Composer
On this page you can find all versions of the php package oveland/placetopay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oveland/placetopay
More information about oveland/placetopay
Files in oveland/placetopay
Package placetopay
Short Description PHP library to make a basic test pay with PlaceToPay
License MIT
Informations about the package placetopay
Oveland PlaceToPay Library
Installation
Install via composer
$ composer require oveland/placetopay
Or include on composer.json file:
How to use
Methods
Bank List:
Get array of bank list:
$placetopay->getBankList();
Transaction:
Get return code:
$transaction->getReturnCode();
Get bank url redirect:
$transaction->getBankURL();
Get trazability code:
$transaction->getTrazabilityCode();
Get transaction cycle:
$transaction->getTransactionCycle();
Get transaction ID:
$transaction->getTransactionID();
Get session ID:
$transaction->getSessionID();
Get bank currency:
$transaction->getBankCurrency();
Get bank factor:
$transaction->getBankFactor();
Get response code:
$transaction->getResponseCode();
Get response reason code:
$transaction->getResponseReasonCode();
Get response reason text:
$transaction->getResponseReasonText();
Get array of all data:
$transaction->getData();
Status:
Get transaction ID:
$status->getTransactionID();
Get session ID:
$status->getSessionID();
Get reference:
$status->getReference();
Get request date:
$status->getRequestDate();
Get trazability code:
$status->getTrazabilityCode();
Get bank process date:
$status->getBankProcessDate();
Get bank on test:
$status->getOnTest();
Get return code:
$status->getReturnCode();
Get trazability code:
$status->getTrazabilityCode();
Get transaction cycle:
$status->getTransactionCycle();
Get transaction state:
$status->getTransactionState();
Get response code:
$status->getResponseCode();
Get response reason code:
$status->getResponseReasonCode();
Get response reason text:
$status->getResponseReasonText();
Get array of all data:
$status->getData();
Example
See Laravel project that implements the PlaceToPay Library.
Please try the Live demo