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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Unable to debug the PaymentConnector extension

(1) ShareShare
ReportReport
Posted on by

Hi Team!

Application : Retail Modern POS, RetailSDK, RetailAndCommerce

I have extended the payment connector and trying to debug the application, However am unable to hit the debugger,

Any help or guidance would be appreciated.

Thanks!

Navneet

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,383 Super User 2026 Season 1 on at

    Moved to the Dynamics 365 Commerce forum.

  • Suggested answer
    Diogo_STMonteiro Profile Picture
    Microsoft Employee on at

    Hi Navneet,

    Are you able to debug POS extension and CRT/RS classes and not Payment connector only?

    Or you are not able to debug the RetailSDk extension at all?

    Can you share what is your RetailSDK version?

    10.0.18 +

    docs.microsoft.com/.../debug-pos-extension

  • navneethegde Profile Picture
    on at

    Hi Diogo!

    Thanks for your response.

    Retail SDK is 10.0.18

    1. I started by creating a C# project as below
    pastedimage1630441588427v1.png

    2. Updated Hardware profile as below to set it up for my mock device

    pastedimage1630441741813v2.png

    I updated the PINPAD as per MS docs

    3. I downloaded Retail mPOS and config file to install it on my dev machine

    pastedimage1630441941379v3.png

    4. I login into MPOS and add items 

    pastedimage1630442166151v4.png

    5. I attach a debugger in Visual Studio expecting it to be hit when I add item

    pastedimage1630442485909v7.png

    6. I have my PayCon project debug dll placed at ClientBroker folder and updated ExtensionConfig file composition

    pastedimage1630442355579v6.png

    Is there anything I am missing here? 

  • Suggested answer
    Diogo_STMonteiro Profile Picture
    Microsoft Employee on at

    Hi Navneet,

    Are using Dedicated HW Station or Shared HW Station (iis based).

    Please take a look from my sample:

    - Compile the project and copy the assembly Contoso.Commerce.HardwareStation.CoinDispenserSample.dll under Extension.CoinDispenserSample\bin\Debug.
    - Copy the assembly to the machine where Hardware Station was deployed.
    - Remote: For remote Hardware Station, copy to the bin\ location of Hardware Station.
    - Local: For local Hardware Station, copy to %ProgramFiles(x86)\Microsoft Dynamics 365\70\Retail Modern POS\ClientBroker.
    - Add the section below to the composition:
    <add source="assembly" value="Contoso.Commerce.HardwareStation.Extension.CoinDispenserSample" />
    - Remote: For remote Hardware Station, the composition file is web.config under the IIS deployed location.
    - Local: For local Hardware Station, the composition file is DLLHost.exe.config under the folder %ProgramFiles(x86)\Microsoft Dynamics 365\70\Retail Modern POS\ClientBroker.
    - Recycle the process after doing the above changes. If remote, the process is w3wp.exe (use iisreset). If local, it's dllhost.exe.

  • CU18080005-1 Profile Picture
    on at
    When you answer is "moved to ABC forum" you MUST add a link.
     
    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 1,070

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 238 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 133 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans