2017 © Pedro Peláez
 

library overenozakazniky

Heureka 'Ověřeno zákazníky' (ShopCertification) service API implementation

image

heureka/overenozakazniky

Heureka 'Ověřeno zákazníky' (ShopCertification) service API implementation

  • Monday, November 7, 2016
  • by heureka
  • Repository
  • 8 Watchers
  • 16 Stars
  • 31,040 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 20 Forks
  • 0 Open issues
  • 11 Versions
  • 7 % Grown

The README.md

Heureka 'Ověřeno zákazníky' PHP API

Heureka Ověřeno zákazníky (ShopCertification) service API client implementation for PHP., (*1)

Note: For non-PHP implementations check the API documentation in the docs folder., (*2)

Examples

You can check working examples in the folder examples of this repository., (*3)

Usage

Initialize class Heureka\ShopCertification using your API key (you need to log in):, (*4)

require_once __DIR__ . '/vendor/autoload.php';

$shopCertification = new \Heureka\ShopCertification('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');

Keep in mind that your API key is only yours and it is supposed to be a secret. Never post your API key to anyone, never put it into JavaScript or anywhere else. It should live on your server only. If you feel the need to break this rule then you are doing something wrong - please consult our support department prior to any actions., (*5)

SK shops should initialize the class with a service parameter in the options:, (*6)

$options = ['service' => \Heureka\ShopCertification::HEUREKA_SK];
$shopCertification = new \Heureka\ShopCertification('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', $options);

Set the customer e-mail address:, (*7)

$shopCertification->setEmail('jan.novak@muj-eshop.cz');

Set the customer's order ID (only integers are allowed):, (*8)

$shopCertification->setOrderId(15195618851564);

Add products which the customer ordered (use IDs which you used in ITEM_ID field of the Heureka XML feed):, (*9)

$shopCertification->addProductItemId('B1234');
$shopCertification->addProductItemId('15968421');
$shopCertification->addProductItemId('814687');

And finally send request to log the order:, (*10)

$shopCertification->logOrder();

The Versions

07/11 2016

dev-master

9999999-dev

Heureka 'Ověřeno zákazníky' (ShopCertification) service API implementation

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Heureka.cz

07/11 2016

v3.0.0

3.0.0.0

Heureka 'Ověřeno zákazníky' (ShopCertification) service API implementation

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Heureka.cz

20/10 2016

v2.0.6

2.0.6.0

Heureka 'Ověřeno zákazníky' (ShopCertification) service API implementation

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Heureka.cz

19/10 2016

v2.0.5

2.0.5.0

Heureka 'Ověřeno zákazníky' (ShopCertification) service API implementation

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Heureka.cz

29/06 2016

v2.0.4

2.0.4.0

Heureka 'Ověřeno zákazníky' (ShopCertification) service API implementation

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Heureka.cz

26/05 2016

v2.0.3

2.0.3.0

Heureka 'Ověřeno zákazníky' (ShopCertification) service API implementation

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Heureka.cz

28/04 2016

v2.0.2

2.0.2.0

Heureka 'Ověřeno zákazníky' (ShopCertification) service API implementation

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Heureka.cz

28/04 2016

v2.0.1

2.0.1.0

Heureka 'Ověřeno zákazníky' (ShopCertification) service API implementation

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Heureka.cz

12/04 2016

v2.0.0

2.0.0.0

Heureka 'Ověřeno zákazníky' (ShopCertification) service API implementation

  Sources   Download

The Requires

  • php >=5.4.0

 

The Development Requires

by Heureka.cz

30/03 2016

v0.1.1

0.1.1.0

Heureka 'Ověřeno zákazníky' service API

  Sources   Download

The Requires

  • php >=5.4.0

 

The Development Requires

by Heureka.cz

26/06 2014

v0.1

0.1.0.0

Heureka overeno service API

  Sources   Download

The Requires

  • php >=5.1.0

 

by Heureka.cz