Skip to content

OrderApi placeOrder method respond with empty response. #35

@engrsandeep

Description

@engrsandeep

The OrderApi placeOrder method is responding with a blank message. There is neither an order ID nor a failure message or exception being triggered.
Orders are getting placed correctly, but with no response coming back, it's uncertain whether the order failed or succeeded.

Here's how it's being called:
$result = $this->orderApi->placeOrder($order, "2.0");

After debugging OrderApi, I can see this message, even when an order failed:
[{},200,{"Date":["Sun, 13 Apr 2025 08:11:07 GMT"],"Content-Type":["application/json"],"Transfer-Encoding":["chunked"],"Connection":["keep-alive"],"Vary":["Origin","Access-Control-Request-Method","Access-Control-Request-Headers"],"requestId":["f747491d-900c-47b4-a324-4ac5acec62d9"],"X-Content-Type-Options":["nosniff"],"X-XSS-Protection":["1; mode=block"],"Cache-Control":["no-cache, no-store, max-age=0, must-revalidate"],"Pragma":["no-cache"],"Expires":["0"],"Strict-Transport-Security":["max-age=31536000 ; includeSubDomains"],"X-Frame-Options":["DENY"]}]

Can you please help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions