web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

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

Live Shipping Rates on Dynamics 365 ecommerce store front

(1) ShareShare
ReportReport
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
I have the same question (0)
  • MH-15052103-0 Profile Picture
    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

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 > Commerce

Featured topics

Product updates

Dynamics 365 release plans