PHP code example of plemi / paybox-bundle

1. Go to this page and download the library: Download plemi/paybox-bundle 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/ */

    

plemi / paybox-bundle example snippets

 php
$manager = $this->get('plemi_paybox.manager');
$request = $manager->createRequest();

$request->setTotal(100);
$request->setRank(34030);
$request->setSite(302);

return new Response($request->execute());
 php
$manager  = $this->get('plemi_paybox.manager');
$response = $manager->createResponse($this->getRequest());

$amount = $response->getAmount();