Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Pay customer account showing Error , when click Payment account

Posted on by 360

Hi Experts , 

i am using Ax2012 R3,  and i want to execute Pay customer account scenario , i selected customer and the item and client pay customer account . 

1_2D00_-cutomer-account.png

when click payment account it is showing this Error . 

2-customer-acount.png

in event log , following are the Error showing :

Microsoft.Dynamics.Retail.Pos.Customer.Customer: System.NullReferenceException: Object reference not set to an instance of an object.
at LSRetailPosis.TransactionServices.InvokeMethod(String methodName, Object[] parameters)
at LSRetailPosis.TransactionServices.Invoke(String methodName, Object[] parameters)
at Microsoft.Dynamics.Retail.Pos.Customer.Customer.GetCustomerBalances(String customerId, String invoiceCustomerId).
-------------------------------

LSRetailPosis.POSProcesses.PayCustomerAccount: System.NullReferenceException: Object reference not set to an instance of an object.
at LSRetailPosis.TransactionServices.InvokeMethod(String methodName, Object[] parameters)
at LSRetailPosis.TransactionServices.InvokeMethodNoDataReturn(Boolean& retValue, String& comment, String methodName, Object[] parameterList)
at LSRetailPosis.TransactionServices.ValidateCustomerStatus(Boolean& valid, String& comment, String customerId, Decimal amount, String currencyCode)
at Microsoft.Dynamics.Retail.Pos.Customer.Customer.AuthorizeCustomerAccountPayment(Boolean& valid, String& comment, String& manualAuthenticationCode, String customerId, Decimal amount, IRetailTransaction retailTransaction)
at LSRetailPosis.POSProcesses.PayCustomerAccount.Execute().
-------------------------------------
Microsoft.Dynamics.Retail.Pos.Customer.Customer: System.NullReferenceException: Object reference not set to an instance of an object.
at LSRetailPosis.TransactionServices.InvokeMethod(String methodName, Object[] parameters)
at LSRetailPosis.TransactionServices.InvokeMethodNoDataReturn(Boolean& retValue, String& comment, String methodName, Object[] parameterList)
at LSRetailPosis.TransactionServices.ValidateCustomerStatus(Boolean& valid, String& comment, String customerId, Decimal amount, String currencyCode)
at Microsoft.Dynamics.Retail.Pos.Customer.Customer.AuthorizeCustomerAccountPayment(Boolean& valid, String& comment, String& manualAuthenticationCode, String customerId, Decimal amount, IRetailTransaction retailTransaction).

Please give me any clue, or anyone having face this issue

-SAJID

*This post is locked for comments

  • Verified answer
    RE: Pay customer account showing Error , when click Payment account

    @ Jenny

    Check the Real time sync service , it must be configure correctly and running. i was the same service issue i had,

    @Thanks Zaheen .

    -SAJID

  • Verified answer
    Zaheen82 Profile Picture
    Zaheen82 on at
    RE: Pay customer account showing Error , when click Payment account

    Solution -

    It seems the issue is with  the Real time Service wasnt configured.

    Once done this payment method works fine

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Pay customer account showing Error , when click Payment account

    Hi SaJid,

    I have the same problem, could you please advise me the solution for this

    Thank you

  • RE: Pay customer account showing Error , when click Payment account

    HI , 

    Yes, its already setup. 

    Store > Setup > Payment method and set the customer account .

    all job executed. 

     customer-acount3.png

    Thanks 

    -SAJID

  • Pir_Rana Profile Picture
    Pir_Rana 836 on at
    RE: Pay customer account showing Error , when click Payment account

    Hi,

    Have you setup the Customer account payment method for the store?

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans