November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi!
This json gives me the cache error:
{ "Id":1, "Created":"2017-11-10T19:04:01.513Z", "Currency":"SEK", "CustomerId":"dcb01835-895a-4025-8c74-8c9d2181903c", "Forms":[ { "OrderFormId":-1, "AuthorizedPaymentTotal":0.0, "CapturedPaymentTotal":0.0, "HandlingTotal":0.0, "Name":"Default", "Shipments":[ { "ShipmentId":-1, "ShippingMethodId":"d9188b0b-ab86-4113-8960-75e4181896ed", "ShippingMethodName":null, "ShippingAddress":{ "Id":"e0bf678b-2815-41d2-b225-6283bf37a2d9", "FirstName":"Kristoffer", "LastName":"Lindén", "Organization":"", "Line1":"Allmoge", "Line2":null, "City":"Spånga", "CountryCode":"SWE", "CountryName":"SWE", "PostalCode":"12345", "RegionCode":null, "RegionName":null, "DaytimePhoneNumber":"070 830 82 84", "EveningPhoneNumber":null, "FaxNumber":null, "Email":"kristoffer@authority.se", "Properties":{ } }, "ShipmentTrackingNumber":null, "OrderShipmentStatus":1, "PickListId":null, "WarehouseCode":"default", "LineItems":[ { "LineItemId":-1, "Code":"29449-01", "DisplayName":null, "PlacedPrice":559.2, "Quantity":1.0, "ReturnQuantity":0.0, "InventoryTrackingStatus":0, "IsInventoryAllocated":false, "IsGift":false, "Properties":{ }, "AllowBackordersAndPreorders":false, "InStockQuantity":0.0, "BackorderQuantity":0.0, "PreorderQuantity":0.0, "InventoryStatus":0, "MaxQuantity":0.0, "MinQuantity":0.0, "EntryAmount":0.0, "OrderAmount":0.0 }, { "LineItemId":-2, "Code":"28662-01", "DisplayName":null, "PlacedPrice":199.2, "Quantity":1.0, "ReturnQuantity":0.0, "InventoryTrackingStatus":0, "IsInventoryAllocated":false, "IsGift":false, "Properties":{ }, "AllowBackordersAndPreorders":false, "InStockQuantity":0.0, "BackorderQuantity":0.0, "PreorderQuantity":0.0, "InventoryStatus":0, "MaxQuantity":0.0, "MinQuantity":0.0, "EntryAmount":0.0, "OrderAmount":0.0 }, { "LineItemId":-3, "Code":"25221-02", "DisplayName":null, "PlacedPrice":3119.2, "Quantity":1.0, "ReturnQuantity":0.0, "InventoryTrackingStatus":0, "IsInventoryAllocated":false, "IsGift":false, "Properties":{ }, "AllowBackordersAndPreorders":false, "InStockQuantity":0.0, "BackorderQuantity":0.0, "PreorderQuantity":0.0, "InventoryStatus":0, "MaxQuantity":0.0, "MinQuantity":0.0, "EntryAmount":0.0, "OrderAmount":0.0 } ], "Properties":{ }, "ShipmentDiscount":0.0, "OperationKeys":{ } } ], "Promotions":[ ], "CouponCodes":[ ], "Payments":[ { "Amount":4847.0, "AuthorizationCode":null, "BillingAddress":{ "Id":"a9e006c3-d0e6-418d-9735-4861b707f5ad", "FirstName":"Kristoffer", "LastName":"Lindén", "Organization":"", "Line1":"Allmoge", "Line2":null, "City":"Spånga", "CountryCode":"SWE", "CountryName":"SWE", "PostalCode":"12345", "RegionCode":null, "RegionName":null, "DaytimePhoneNumber":"070 830 82 84", "EveningPhoneNumber":null, "FaxNumber":null, "Email":"kristoffer@authority.se", "Properties":{ } }, "CustomerName":null, "ImplementationClass":null, "PaymentId":0, "PaymentMethodId":"e5448302-25f8-4ae4-90a7-bfa525f3ffdb", "PaymentMethodName":"KlarnaCheckout", "PaymentType":0, "ProviderTransactionID":null, "Status":"Pending", "TransactionID":null, "TransactionType":"Authorization", "ValidationCode":null, "Properties":{ } } ], "Properties":{ "SelectedServicePoint":[ { "Key":"pickupaddress", "Value":"SPÅNGAVÄGEN 353" }, { "Key":"pickupcountry", "Value":"SE" }, { "Key":"pickupagentno", "Value":"SE-969800" }, { "Key":"pickuppostcode", "Value":"16355" }, { "Key":"pickupaddress2", "Value":"" }, { "Key":"pickupname", "Value":"NÄLSTA VIDEO" }, { "Key":"pickupcity", "Value":"SPÅNGA" }, { "Key":"pickupparid", "Value":"" } ] } } ], "Market":"SV", "Modified":"2017-11-11T15:18:23.6357023Z", "Name":"Default", "Notes":[ ], "OrderLink":{ "OrderGroupId":1, "Name":"Default", "CustomerId":"dcb01835-895a-4025-8c74-8c9d2181903c", "OrderType":"EPiServer.Commerce.Order.Internal.SerializableCart, EPiServer.Business.Commerce, Version=11.3.0.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7" }, "OrderStatus":4, "Organization":null, "Properties":{ "OrderConfirmationShown":true, "TaxRate":"25", "TrackingNumber":"T1", "KlarnaCheckoutOrder":"7ZRFUDMB5FR7LIVMAMHEVYOP6XQ" } }
Thanks!
/Kristoffer
I think SelectedServicePoint is suspicious here. I can't say anything for sure without the database, so I would suggest you to contact developer support service and file a support ticket.
Looks like you are right. If I use a shipment method withour pickup point the SaveAsPurchaseOrder works just fine.
I have send an email to developer support.
/Kristoffer
I created a new property as LongString an serialized the values to json instead and then it works fine. I guess there must be something with serializing the MetaDictionary datatype.
/Kristoffer
Hi!
I sometimes get this expection when I try to create a purchase order from a SerializedCart:
It seems to have something to do with the Metadata but there is only one "value cannot be null" property and that one has a value.
The exception looks like it occours when it tries to cache some Metadata?
Any suggestions?
Thanks!
/Kristoffer