artfocus/heureka-overeno-php-api

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (v1.0.0) of this package.

Heureka overeno service API

Maintainers

Package info

bitbucket.org/artfocus/heureka-overeno-php-api

Issues

pkg:composer/artfocus/heureka-overeno-php-api

Statistics

Installs: 15 530

Dependents: 0

Suggesters: 0

v1.0.0 2015-07-21 15:36 UTC

This package is not auto-updated.

Last update: 2026-05-06 15:27:33 UTC


README

Heureka Overeno service API for PHP.

Usage

Initialize Service using your API key:

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:

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

Set customer email:

$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

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

Or add multiple products:

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

or/and add products using item ID:

$overeno->addProductItemId('B1234');

Provide order ID - BIGINT (0 - 18446744073709551615):

$overeno->addOrderId(123456);

Send the request:

$overeno->send();

View all examples