Skip to main content

Notifications

Dynamics 365 Community / Forums / Commerce forum / Live Shipping Rates on...
Commerce forum
Unanswered

Live Shipping Rates on Dynamics 365 ecommerce store front

Posted on by 4
Hello All,
I have created an api and print labels everything in fulfilment solution, I have managed to call that api by creating a custom extension in dynamics 365 store front ecommerce , the problem is when it fetches rates, it shows but still shows free when i trying to upate that value it says, 
 
  "TypeName": "CartValidationException",

    "Exception": "{\r\n  \"ValidationResults\": [\r\n    {\r\n      \"ErrorResourceId\": \"Microsoft_Dynamics_Commerce_Runtime_PropertyUpdateNotAllowed\",\r\n      \"LocalizedMessage\": \"You're trying to perform an operation that updates a read only property 'SHIPPINGCHARGEAMOUNT'. Either perform a different operation or contact your system administrator.\",\r\n      \"LocalizedMessageParameters\": [\r\n        \"SHIPPINGCHARGEAMOUNT\"\r\n      ],\r\n      \"ErrorContext\": \"Property SHIPPINGCHARGEAMOUNT is readonly.\",\r\n      \"MemberNames\": []\r\n    }\r\n  ],\r\n  \"ErrorResourceId\": \"Microsoft_Dynamics_Commerce_Runtime_AggregateValidationError\",\r\n  \"LocalizedMessage\": \"A validation error occurred.\"\r\n}",

how i can do this? i want to fetch a live rate and push it in cart and charge customer
  • MH-15052103-0 Profile Picture
    MH-15052103-0 4 on at
    Live Shipping Rates on Dynamics 365 ecommerce store front
    {

        "TypeName": "CartValidationException",

        "Exception": "{\r\n  \"ValidationResults\": [\r\n    {\r\n      \"ErrorResourceId\": \"Microsoft_Dynamics_Commerce_Runtime_PropertyUpdateNotAllowed\",\r\n      \"LocalizedMessage\": \"You're trying to perform an operation that updates a read only property 'SHIPPINGCHARGEAMOUNT'. Either perform a different operation or contact your system administrator.\",\r\n      \"LocalizedMessageParameters\": [\r\n        \"SHIPPINGCHARGEAMOUNT\"\r\n      ],\r\n      \"ErrorContext\": \"Property SHIPPINGCHARGEAMOUNT is readonly.\",\r\n      \"MemberNames\": []\r\n    }\r\n  ],\r\n  \"ErrorResourceId\": \"Microsoft_Dynamics_Commerce_Runtime_AggregateValidationError\",\r\n  \"LocalizedMessage\": \"A validation error occurred.\"\r\n}",

        "CorrelationId": "b73d7afd-31a2-4553-a247-01b538b53e4f"

    }

    how to update shipping charge amount so it gets added up in cart?

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284,860 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,398 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans