Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : Xp9L+ZAZZ33eiji9yFGPf+
Microsoft Dynamics AX (Archived)

While Pressing submit order in online store getting error in Dax 2012 R3

Like (0) ShareShare
ReportReport
Posted on 2 Jul 2014 09:33:31 by 360

Hi,

I have deployed online store it working fine, but while pressing on submit order button by giving credit card details  in online store I am getting following error.

Exception id: , Error message: We cannot process your request at this time. Please try again later.System.InvalidOperationException: Failed to get payment connector TestConnector. No connectors are currently loaded.

  at Microsoft.Dynamics.Retail.SDKManager.PaymentProcessorManager.GetPaymentProcessor(String name)

  at Microsoft.Dynamics.Commerce.Runtime.Services.CardPaymentService.GenerateCardToken(GenerateCardTokenPaymentServiceRequest request)

  at Microsoft.Dynamics.Commerce.Runtime.Services.CardPaymentService.ExecuteRequest[TResponse](ServiceRequest request)

  at Microsoft.Dynamics.Commerce.Runtime.Services.Service.Execute[TResponse](ServiceRequest request)

  at Microsoft.Dynamics.Commerce.Runtime.Workflow.OrderWorkflowHelper.GenerateCardTokenAndGetAuthorization(RequestContext context, CartTenderLine cartTenderLine)

  at Microsoft.Dynamics.Commerce.Runtime.Workflow.OrderWorkflowHelper.ProcessPendingOrderPayments(RequestContext context, IEnumerable`1 cartTenderLines)

  at Microsoft.Dynamics.Commerce.Runtime.Workflow.SubmitOrderRequestHandler.<>c__DisplayClassa.<Process>b__7()

  at Microsoft.Dynamics.Commerce.Runtime.Workflow.SubmitOrderRequestHandler.ExecutionHandler(Action action, String operationType, RequestContext context, CreateOrderFromCartRequest request)

  at Microsoft.Dynamics.Commerce.Runtime.Workflow.SubmitOrderRequestHandler.Process(CreateOrderFromCartRequest request)

  at Microsoft.Dynamics.Commerce.Runtime.Workflow.WorkflowRequestHandler`2.Execute(RequestContext context)

  at Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(RequestContext context)

  at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[T](Request request)

  at Microsoft.Dynamics.Commerce.Runtime.Client.OrderManager.PerformCreateOrder(String cartId, String customerAccountNumber, IEnumerable`1 cartTenderLines, String emailAddress)

  at Microsoft.Dynamics.Retail.SharePoint.Web.Services.ObjectModel.CheckoutController.CreateOrder(String shoppingCartId, Collection`1 tenderDataLines, String emailAddress)

  at Microsoft.Dynamics.Retail.SharePoint.Web.Services.CheckoutService.<>c__DisplayClass14.<CreateOrder>b__12()

  at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()

  at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)

  at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)

  at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)

  at Microsoft.Dynamics.Retail.SharePoint.Web.Services.ObjectModel.ServiceHelper.Execute(ServiceResponse response, ServiceExecutionHandler executionHandler)

Thanks in Advance

*This post is locked for comments

  • SergeyP Profile Picture
    2,928 on 11 Jul 2014 at 16:58:19
    RE: While Pressing submit order in online store getting error in Dax 2012 R3

    The connector's DLL has to be in GAC on SharePoint machine.

    You can use the following syntax to add it to the GAC:

    gacutil /i <YourDllNameIsHere>

    If it is there but the issue still exist please execute the following query against your CRT DB:

    SELECT *

    FROM crt.PAYMENTCONNECTORVIEW

    WHERE ONLINECHANNEL = <PutYourChannelIdHere>

    It should return a row corresponding to the connector you have specified for your channel.

  • Khader Mohiddin Profile Picture
    360 on 11 Jul 2014 at 10:03:21
    RE: While Pressing submit order in online store getting error in Dax 2012 R3

    Hi Sergey Pikhulya,

    Thank you for Reply and Valuable suggestions.

    I have been configured the test connector as you said before itself but while using the same test connector in online store from the internet it is not loading, I am not sure from where it is getting loading. Could you pl. suggest me that where we need to place the "testconnector.dll" for online store to work with cards.

    Thanks in advance.

    Regards

    Mohi

  • SergeyP Profile Picture
    2,928 on 10 Jul 2014 at 21:32:45
    RE: While Pressing submit order in online store getting error in Dax 2012 R3

    There could be at least 2 possible reasons:

    1. You don't have the DLL which represents your payment connector in the GAC, if you are using demo environment that DLL could be Microsoft.Dynamics.Retail.TestConnector.dll

    2. You have not specified a Payment Connector for your channel, it should be done from the UI which edits a channel settings:

     

     

      Once you assign a payment connector to your channel don't forget to republish the channel and execute 1070 job.

     

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,000 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans