Giter Club home page Giter Club logo

overeno-zakazniky's People

Contributors

filipmelikheureka avatar grongor avatar heureka-user avatar josef-polak-heu avatar martinbartama avatar miroslavhlavka avatar nickcubarschi avatar sparkycz avatar vojtasvoboda avatar vrtak-cz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

overeno-zakazniky's Issues

Malformed response body for requests sent via PhpRequester

When I use PhpRequester to send order/log request I get malformed response eg.:

HTTP/1.1 401 Unauthorized
Server: nginx
Date: Thu, 22 Sep 2016 16:53:31 GMT
Content-Type: application/json;charset=utf-8
Transfer-Encoding: chunked
Connection: close
X-HGenerator: oz2
X-Frame-Options: SAMEORIGIN
X-Powered-By: Nette Framework
Vary: X-Requested-With
Cache-Control: s-maxage=0, max-age=0, must-revalidate
Expires: Mon, 23 Jan 1978 10:00:00 GMT

62
{
    "code": 401,
    "message": "unauthorized",
    "description": "Unknown API key \"TEST\"."
}
0

Note that the problem is not in the authentication, but in the 62 and 0 in the response.

When I do the same request using CurlRequester it works well.

The productItemId was already added

Ahoj,

je potreba vyhazovat DuplicateProductItemIdException? Ona to chyba byt nemusi. U nas na shopu se stava bezne, ze produkt je soucasti vice konfiguraci a tudiz se v kosiku vyskytuje vicekrat.

Nestacilo by nahradit za?

if (array_search($productItemId, $this->productItemIds) === false) {
$this->productItemIds[] = $productItemId;
}

Svym zpusobem se knihovna snazi o nechtenou validaci kosiku.

You somehow forgot to version your code before BC ?

Sorry, but this just isnt nice of you..

For all of you who dont have time to fix this right now, one of possible solutions is to update your composer json to "heureka/overenozakazniky": "dev-master#9c737335708b99090d5dcf6b59c141a423d0a50d",

composer

Navrhuji pridat composer pro spravu zavislosti.

Request results in HTTP 400

exception 'Heureka\ShopCertification\RequesterException' with message 'Request resulted in HTTP code '400'. Response result:
{
"code": 400,
"message": "bad-request",
"description": "There is a problem with your request. Please see the documentation for details.",
"dataErrors": [
"Expected key "productItemIds" to be "string[]", "array" of value "[3258]" given."
]
}' in \vendor\heureka\overeno-zakazniky\src\ShopCertification\CurlRequester.php:61

Attemt to send order results in HTTP code 301

exception 'Heureka\ShopCertification\RequesterException' with message 'Request resulted in HTTP code '301'. Response result:

<title>301 Moved Permanently</title>

Moved Permanently

The document has moved here.

' in \vendor\heureka\overenozakazniky\src\ShopCertification\CurlRequester.php:61

Requiring this package using composer does not work

composer require heureka/overeno-zakazniky

[InvalidArgumentException]
Could not find package heureka/overeno-zakazniky at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.