PHP code example of jhonatancf / sdkptp
1. Go to this page and download the library: Download jhonatancf/sdkptp 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/ */
jhonatancf / sdkptp example snippets
use JhonatanCF5\SDKPlaceToPay;
$sdk = new SDKPlaceToPay();
//Bank List
$sdk->getBankList();
// Create new transaction
$sdk->createTransaction(PSETransactionRequest $transactionRequest);
// Create new transaction MultiCredit
$sdk->createTransactionMultiCredit(PSETransactionMultiCreditRequest $transactionRequest);
//Transaction information
$sdk->getTransactionInformation($transactionID);
//Refresh transactions pending
$sdk->refreshTransactionsPending();