Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Payment terminal in peripheral simulator works using INamedRequestHandler or IPaymentDevice or both?

(0) ShareShare
ReportReport
Posted on by 10

Hi.

We have followed "create an end to end payment integration" provided on retail docs, to create a payment connector for a payment terminal.

By implementing INamedRequestHandler, we are able to simulate behavior of payment terminal with M/CPOS on the peripheral simulator.

However, the white paper "implementing a payment connector and a payment device" explains developing a payment connector using IPaymentProcessor with IPaymentDevice, instead of INamedRequestHandler.

Confused now whether to use INamedRequestHandler or IPaymentDevice with IPaymentProcessor.

Any suggestions are welcome.

Thanks.

  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,597 on at
    RE: Payment terminal in peripheral simulator works using INamedRequestHandler or IPaymentDevice or both?

    My pleasure :)

  • MarijSiddiqui Profile Picture
    MarijSiddiqui 10 on at
    RE: Payment terminal in peripheral simulator works using INamedRequestHandler or IPaymentDevice or both?

    Thank you Oksana, this adequately answers my query.

  • Verified answer
    Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,597 on at
    RE: Payment terminal in peripheral simulator works using INamedRequestHandler or IPaymentDevice or both?

    This depends on which payment adaptor you have enabled in Hardware station configuration file:

    1) For legacy adaptor use IPaymentDevice

    2) For new adaptor use INamedRequestHandler

    IPaymentProcessor is usually needed in both cases. IPaymentProcessor is connector itself, that contains payment logic and also to be able to select your connector in F&O in EFT profile, class should implement IPaymentProcessor interface.

    So the flow is (with POS paired to hardware station): POS > HW station > IPaymentDevice/INamedRequestHandler  > IPaymentProcessor

  • Xusheng Profile Picture
    Xusheng on at
    RE: Payment terminal in peripheral simulator works using INamedRequestHandler or IPaymentDevice or both?

    Can you please show the hardware profile for this? It is better you can show more picture for it.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,317 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans