Skip to content

Error in serialize #107

@f0cusX

Description

@f0cusX

Hello, I am getting an error when receiving an order:
Can't use incorrect type PriceSet for collection in Model\Orders\Common\ShippingLine:priceSet

My shipping line in the order looks like this:
"shipping_lines":[ { "id":3651492741275, "carrier_identifier":null, "code":"test-delivery", "delivery_category":null, "discounted_price":"0.00", "discounted_price_set":{ "shop_money":{ "amount":"0.00", "currency_code":"RUB" }, "presentment_money":{ "amount":"0.00", "currency_code":"RUB" } }, "phone":null, "price":"0.00", "price_set":{ "shop_money":{ "amount":"0.00", "currency_code":"RUB" }, "presentment_money":{ "amount":"0.00", "currency_code":"RUB" } }, "requested_fulfillment_service_id":null, "source":"shopify", "title":test-delivery", "tax_lines":{ }, "discount_allocations":{ } } ]

How i can fix this?

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