PHP code example of course-link / omnipay-polish-payments
1. Go to this page and download the library: Download course-link/omnipay-polish-payments 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/ */
course-link / omnipay-polish-payments example snippets
$notification = $gateway->acceptNotification(
options: [], // request body, if empty values are taken from httpRequest
headers: [] // if empty values are taken from httpRequest
);
$status = $notification->getTransactionStatus();
$data = $notification->getData();
$transactionReference = $notification->getTransactionReference();
$notification = $gateway->acceptNotification(
options: [], // request body, if empty values are taken from httpRequest
headers: [] // if empty values are taken from httpRequest
);
$status = $notification->getTransactionStatus();
$data = $notification->getData();
$transactionReference = $notification->getTransactionReference();
$notification = $gateway->acceptNotification(
options: [], // request body, if empty values are taken from httpRequest
headers: [] // if empty values are taken from httpRequest
);
$status = $notification->getTransactionStatus();
$data = $notification->getData();
$transactionReference = $notification->getTransactionReference();
$notification = $gateway->acceptNotification(
options: [], // request body, if empty values are taken from httpRequest
headers: [] // if empty values are taken from httpRequest
);
// Przelewy24 e = $notification->getTransactionReference();
$notification = $gateway->acceptNotification(
options: [], // request body, if empty values are taken from httpRequest
headers: [] // if empty values are taken from httpRequest
);
$status = $notification->getTransactionStatus();
$data = $notification->getData();
$transactionReference = $notification->getTransactionReference();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.