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?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,451 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,353 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans