Skip to content

json parsing of string to decimal doesn't handle the decimal separators correctly #798

@wstaelens

Description

@wstaelens

we use woocommerce.net to download orders from a woocommerce store.

The order and the email shows a price of e.g. € 128,00 the order gives us a string "128.00" but for an unknown reason to us the parsing of the json to decimals goes wrong and gives us "12800" after woocommerce.net deserialized the json.

Is this a known bug in woocommerce.net? Any thing we forgot to configure in woocommerce.net ?

(The WooCommerce > Settings > General > separators are set correctly.)

When we pull orders from the user interface thread as a test (blazor server) it is ok. but not from a background thread (which is needed...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions