Skip to main content

Notifications

Dynamics 365 Community / Forums / Commerce forum / Replacing simulator fu...
Commerce forum

Replacing simulator functionality

Posted on by Microsoft Employee

Hi,
I'm creating a payment connector using HardwareStation.Extension.PaymentSample project & PaymentSdk.sln.
When I run Retail Modern POS & go to the "Payment details" screen and "swipe card" in the simulator, the card info gets passed to MPOS.

0763.swipeSimulator.JPG
How can replace the simulator swipe card functionality so it's done through my code ?

(At this moment when I swipe the card in the simulator & card info passed to MPOS, when I press "Tender payment" the SampleConnector()[PaymentSdk.sln] constructor is being called.)


Thanks

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Replacing simulator functionality

    Hi Menekse,

    No, I haven't found the solution.

    I found a workaround.  If you put card data in tenderInfo (e.g. Track1 & Track2) then you can call InvokeAuthorization() which will call Authorize() in PaymentSDK.  Then I get the correct card data from payment connector.

    Are you developing a payment connector ?

    I'm using HardwareStation.Extension.PaymentSample & PaymentSDK projects, are you using these 2 projects as well?

    I was trying to follow this guide:

    docs.microsoft.com/.../end-to-end-payment-extension

    Regards,

    Alex

  • Menekse Profile Picture
    Menekse 110 on at
    RE: Replacing simulator functionality

    Hi Alex,

    Have you found the solution?

    Regards,

    MenekÅŸe

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans