PHP code example of mikica / skrill-quick

1. Go to this page and download the library: Download mikica/skrill-quick 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/ */

    

mikica / skrill-quick example snippets



$request = new \Skrill\Quick\SkrillRequest();
$request->pay_to_email = '[email protected]';
$request->amount = '100';
$request->currency = 'RSD';
$request->language = 'RS';
$request->prepare_only = '1';

$client = new \Skrill\Quick\SkrillClient($request);
$client->getRedirectUrl(); //return redirect url
$client->generateSID(); //return SESSION ID