mikica / skrill-quick
Skrill Quick Checkout Integration
Installs: 2 062
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 4
Open Issues: 0
Requires
- php: >=5.4
Requires (Dev)
- phpunit/phpunit: ^5.0
This package is auto-updated.
Last update: 2024-10-27 04:13:02 UTC
README
#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