Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

Error when completing purchase in checkout page

Posted on by

Hi, 

I am getting the following error in my eCommerce environment every time I attempt a checkout

{TypeName: "DataValidationException",…}

CorrelationId"0d2647f0-bc97-409b-a697-3b9060cc52d0"

Exception"{ ↵ "ValidationResults": [], ↵ "ErrorResourceId": "Microsoft_Dynamics_Commerce_Runtime_PickupModeOfDeliveryNotConfiguredOnHeadquarters", ↵ "LocalizedMessage": "The pickup mode of delivery is not configured on the headquarters." ↵}"

TypeName"DataValidationException"

I have checked all the setup in D365. I also get an error when I try to remove the "Pickup mode of delivery" in the Commerce Parameters: 

Delivery mode has open sales orders. Select a delivery mode which does not have open sales orders. 

I do not wish to have a pick up option in my eCommerce site. However, I cannot delete it for some reason. I believe these to errors are connected to each other. Help please. 

Have a nice weekend. 

- Nora

  • Suggested answer
    Ramune Profile Picture
    Ramune on at
    RE: Error when completing purchase in checkout page

    Hi Nora,

    regarding the error:

    "The payment couldn't be authorized. Card Type Id in 'TokenizedPaymentCard' is missing or provided Card Type Id is not supported."

    Can you please check what setup do you have for credit cards?

    When you open Payment method with Function= Card/ click on Card setup/ select your card/ click on Card ID/ check if you have here full setup done.

    If this is not helpful, Please create a support case to us and we will investigate it further.

  • Nora Alsvik Profile Picture
    Nora Alsvik on at
    RE: Error when completing purchase in checkout page

    Hi. I am testing in 10.0.12. I will try to update the version. Thank you :)

    I ended up changing some of the modes of deliveries and it suddenly worked.

    However, I am now experiencing a different error message:

    1. {TypeName: "PaymentException",…}

    CorrelationId: ........"

    Exception: "{ ↵ "PaymentSdkErrors": [], ↵ "ErrorResourceId": "Microsoft_Dynamics_Commerce_Runtime_UnableToAuthorizePaymentCardTypeMissingOrNotSupported", ↵ "LocalizedMessage": "The payment couldn't be authorized. Card Type Id in 'TokenizedPaymentCard' is missing or provided Card Type Id is not supported." ↵}"

    TypeName: "PaymentException

    Do you know what this means?

  • Suggested answer
    Ramune Profile Picture
    Ramune on at
    RE: Error when completing purchase in checkout page

    Hi Nora,

    which version are you testing?

    This issue as I see is fixed in 10.0.13 and 10.0.14.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans