2017 © Pedro Peláez
 

library heureka-overeno-php-api

Heureka overeno service API

image

artfocus/heureka-overeno-php-api

Heureka overeno service API

  • Tuesday, July 21, 2015
  • by hranicka
  • Repository
  • 0 Watchers
  • 0 Stars
  • 8,502 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

heureka-overeno-php-api

Heureka Overeno service API for PHP., (*1)

Usage

Initialize Service using your API key:, (*2)

require_once 'heureka-overeno-php-api/src/HeurekaOvereno.php';
$overeno = new HeurekaOvereno('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');

SK shops should initialize Heureka Overeno service with second parameter HeurekaOvereno::LANGUAGE_SK:, (*3)

$overeno = new HeurekaOvereno('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', HeurekaOvereno::LANGUAGE_SK);

Set customer email:, (*4)

$overeno->setEmail('jan.novak@example.com');

Add product from order - encoded in UTF8 if possible. Service can handle WINDOWS-1250 and ISO-8859-2 if necessary, (*5)

$overeno->addProduct('Nokia N95');

Or add multiple products:, (*6)

// array $products is populated elsewhere by shop application
foreach ($products as $product) {
  $overeno->addProduct($product);
}

or/and add products using item ID:, (*7)

$overeno->addProductItemId('B1234');

Provide order ID - BIGINT (0 - 18446744073709551615):, (*8)

$overeno->addOrderId(123456);

Send the request:, (*9)

$overeno->send();

View all examples, (*10)

The Versions

21/07 2015

dev-master

9999999-dev

Heureka overeno service API

  Sources   Download

The Requires

  • php >=5.4

 

by Heureka.cz

21/07 2015

v1.0.0

1.0.0.0

Heureka overeno service API

  Sources   Download

The Requires

  • php >=5.4

 

by Heureka.cz