arleslie/2checkout

A 2checkout package for Laravel

dev-master 2016-09-06 17:41 UTC

This package is not auto-updated.

Last update: 2024-04-27 16:42:17 UTC


README

Note: This package is still in heavy development.

Installation

composer require arleslie/2checkout

Add the service provider arleslie\TwoCheckout\ServiceProvider.

Facade Support

Copy the file from the publish directory into your config directory and update it. (Rename this to 2checkout.php)

Then you can use TwoCheckout::account()->getPayments() to retreive past payments.

Class Support

use arleslie\TwoCheckout\Base as TwoCheckout;

$TwoCheckout = new TwoCheckout(<user>, <password>, <privateKey>, <sellerId>);
$TwoCheckout->account()->getPayments(); // Retreieve Past Payments