1. Go to this page and download the library: Download jjcaicedo/place-to-pay library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
$auth = new \JJCaicedo\PlaceToPay\Models\Authentication(<Place to pay AuthId>, <Place to pay TranKey>, <Additional Data>|null);
\JJCaicedo\PlaceToPay\PlaceToPay::connect($auth, <Soap wdsl url>);
$transactionResponse = \JJCaicedo\PlaceToPay\PlaceToPay::createTransaction(<PSETransactionRequest>);//If it works Payment status Sent
$transactionInformation = \JJCaicedo\PlaceToPay\PlaceToPay::getTransactionInformation(<transactionId>); //If it works Payment status to $transactionInformation->transactionState;
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.