Skip to content

http_build_query and invalid basket #51

@RBech

Description

@RBech

Using the code provided here https://kopy.io/p43cq#387KIDk5r4HH51 I'm trying to create a payment with the basket information supplied, however this results in {"message":"Validation error","errors":{"basket":["is invalid"]},"error_code":null} despite the supplying all the information needed according to the documentation.

I think the culprit may be http_build_query but I'm not sure what workaround would be needed, if I use the same data and perform a json_encoded request without using the php-client things are working as expected.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions