Skip to content

Floating Point Number problem in CurlClient #85

Description

@fabianuhlenbrock

When converting into JSON, some numbers become too long and the Shippo API sends a validation message back:

image

Affected Line:

$curlOptions[CURLOPT_POSTFIELDS] = json_encode($params);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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