2checkout
Note: This package is still in heavy development., (*1)
Installation
composer require arleslie/2checkout
, (*2)
Add the service provider arleslie\TwoCheckout\ServiceProvider
., (*3)
Facade Support
Copy the file from the publish directory into your config directory and update it. (Rename this to 2checkout.php), (*4)
Then you can use TwoCheckout::account()->getPayments()
to retreive past payments., (*5)
Class Support
use arleslie\TwoCheckout\Base as TwoCheckout;
$TwoCheckout = new TwoCheckout(<user>, <password>, <privateKey>, <sellerId>);
$TwoCheckout->account()->getPayments(); // Retreieve Past Payments