PHP code example of paypro / paypro-php-v1

1. Go to this page and download the library: Download paypro/paypro-php-v1 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/ */

    

paypro / paypro-php-v1 example snippets






$payproClient = new \PayPro\Client('YOUR_API_KEY');
$payproClient->setCommand('create_payment');
$payproClient->setParams(array('amount' => 500, 'consumer_email' => '[email protected]', 'pay_method' => 'ideal/INGBNL2A'));
$payproClient->execute();
sh
curl -s https://getcomposer.org/install | php
sh
php composer.phar install