2017 © Pedro Peláez
 

library carts-guru

Recover Your Abandoned Carts and Turn Them into Sales.

image

ossbrownie/carts-guru

Recover Your Abandoned Carts and Turn Them into Sales.

  • Wednesday, May 16, 2018
  • by brownie
  • Repository
  • 0 Watchers
  • 1 Stars
  • 214 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

CartsGuru

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Scrutinizer Code Quality Coverage Status Build Status, (*2)

Recover Your Abandoned Carts and Turn Them into Sales., (*3)

curl

A basic CURL wrapper for PHP (see http://php.net/curl for more information about the libcurl extension for PHP), (*4)

Requirements

  • PHP >= 5.3
  • EXT-CURL = *

Usage

$cartsGuru = new CartsGuru(
    new HTTPClient(
        new CurlClient(),
        new Config(array(
            'apiAuthKey' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
        ))
    ),
    'site-id-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
);

$item = new Item(array(
    'id' => 'test-item-0008',
    'label' => 'product',
    'quantity' => 1,
    'totalATI' => 200,
    'totalET' => 150,
    'url' => 'http://site.com/product/0008',
    'imageUrl' => 'http://site.com/product/0008.jpg',
));

$cart = new Cart(
    array(
        'id' => 'test-cart-0008',
        'totalATI' => 200,
        'totalET' => 150,
        'accountId' => '3847569834',
        'firstname' => 'Tester',
        'email' => 'test@site.com',
        'country' => 'United States',
        'countryCode' => 'USA',
    )
);
$cart->addItem($item);
$status = $cartsGuru->trackCart($cart);

$order = new Order(
    array(
        'id' => 'test-order-0008',
        'cartId' => 'test-cart-0008',
        'totalATI' => 200,
        'totalET' => 150,
        'state' => 'approved',
        'accountId' => '3847569834',
        'firstname' => 'Tester',
        'email' => 'test@site.com',
        'country' => 'United States',
        'countryCode' => 'USA',
    )
);
$order->addItem($item);
$status = $cartsGuru->trackOrder($order);

Contact

Problems, comments, and suggestions all welcome: oss.brownie@gmail.com, (*5)

The Versions

16/05 2018

dev-master

9999999-dev https://github.com/ossbrownie/carts-guru

Recover Your Abandoned Carts and Turn Them into Sales.

  Sources   Download

MIT LGPLv3

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Avatar brownie

brownie carts-guru carts.guru abandoned carts

16/05 2018

0.0.6

0.0.6.0 https://github.com/ossbrownie/carts-guru

Recover Your Abandoned Carts and Turn Them into Sales.

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Avatar brownie

brownie carts-guru carts.guru abandoned carts

04/09 2017

0.0.5

0.0.5.0 https://github.com/ossbrownie/carts-guru

Recover Your Abandoned Carts and Turn Them into Sales.

  Sources   Download

LGPLv3

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Avatar brownie

brownie carts-guru carts.guru abandoned carts

04/09 2017

0.0.4

0.0.4.0 https://github.com/ossbrownie/carts-guru

Recover Your Abandoned Carts and Turn Them into Sales.

  Sources   Download

LGPLv3

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Avatar brownie

brownie carts-guru carts.guru abandoned carts

23/08 2017

0.0.3

0.0.3.0 https://github.com/ossbrownie/carts-guru

Recover Your Abandoned Carts and Turn Them into Sales.

  Sources   Download

LGPLv3

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Avatar brownie

brownie carts-guru carts.guru abandoned carts

17/08 2017

0.0.2

0.0.2.0 https://github.com/ossbrownie/carts-guru

Recover Your Abandoned Carts and Turn Them into Sales.

  Sources   Download

LGPLv3

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Avatar brownie

brownie carts-guru carts.guru abandoned carts

16/08 2017

0.0.1

0.0.1.0 https://github.com/ossbrownie/carts-guru

Recover Your Abandoned Carts and Turn Them into Sales.

  Sources   Download

LGPLv3

The Requires

  • ext-curl *
  • php >=5.3

 

The Development Requires

by Avatar brownie

brownie carts-guru carts.guru abandoned carts