-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in serialize #107
Comments
"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":{ } } ] Hello, this look like not a valid json string |
This is the order json part where the error is according to the serializer. |
Can you post the complete order json for debug? |
|
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?
The text was updated successfully, but these errors were encountered: