1. Go to this page and download the library: Download aggreg82r/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/ */
aggreg82r / pay example snippets
// Get the form POST data
$postData = $request->all(); // Important: Sanitize your data
// Initialize your checkout
$checkout = new \Aggreg82r\Pay\Checkout(
'https://api.aggreg82r.com',
'30aab829-ee2f-49c0-be87-a2149b382c7e', // API KEY
'4c3e523d-1f78-4a97-8535-49e36763d0f5' // API SECRET
);
// get your api key and secret in https://aggreg82r.com
$checkout->now($postData);
// This will redirect to the intended payment gateway checkout page