Skip to main content

Notifications

Announcements

No record found.

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

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,835 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,526 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans