/skrill-quick

Skrill Quick Checkout Integration

Primary LanguagePHPOtherNOASSERTION

#Skrill Quick Checkout Integration

You can use this library to generate SESSION ID from Skrill, which is recommended method for connecting to Quick Checkout.

SKrill Quick Checkout Guide.pdf

##Installation composer require mikica/skrill-quick

##Usage

<?php
$request = new \Skrill\Quick\SkrillRequest();
$request->pay_to_email = 'skrill.merchant.email@gmail.com';
$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

##Testing

  • Unit tests: $ vendor/bin/phpunit