1. Go to this page and download the library: Download devpark/laravel-przelewy24 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/ */
$payment_verify = app()->make(\Devpark\Transfers24\Requests\Transfers24::class);
$payment_response = $payment_verify->receive($request);
if ($payment_response->isSuccess()) {
$payment = Payment::where('session_id',$payment_response->getSessionId())->firstOrFail();
// process order here after making sure it was real payment
}
echo "OK";
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.