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
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
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.
Hi Diogo!
Thanks for your response.
Retail SDK is 10.0.18
1. I started by creating a C# project as below
2. Updated Hardware profile as below to set it up for my mock device
I updated the PINPAD as per MS docs
3. I downloaded Retail mPOS and config file to install it on my dev machine
4. I login into MPOS and add items
5. I attach a debugger in Visual Studio expecting it to be hit when I add item
6. I have my PayCon project debug dll placed at ClientBroker folder and updated ExtensionConfig file composition
Is there anything I am missing here?
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 +
Moved to the Dynamics 365 Commerce forum.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156