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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Creating and installing custom payment connector

(0) ShareShare
ReportReport
Posted on by 81

Hi,

I have been tasked with using a 3rd party API to authorize credit card payments in D365 F&O. I found this link, Create an end-to-end payment integration for a payment terminal. Usually, I would expect the extension to be written in X++, however the example is using C#, so I am a bit confused. Can someone provide a better tutorial or a high level explanation of how to implement a custom payment connector? 

I have the same question (0)
  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    The article is about a point-of-sale device (POS) in Dynamics 365 Commerce. If you're not talking about POS, than the article isn't relevant to you.

  • PhillyNJ Profile Picture
    81 on at

    Thanks for the response. I think this link is what I am looking for.

    From what I understand, I need to implement IPaymentProcessor, IPaymentReferenceProvider & IPaymentMethodInfo, which will comprise the methods to authorize, capture, tokenize etc... then compile the dll and drop into


    k:\Aos\WebRoot\bin
    k:\Aos\PackagesLocalDirectory\Bin\Connectors
    k:\RetailServer\WebRoot\bin
    Restart IIS

    Is this correct?

  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    I'm sorry, but I don't even know which of the scenarios you're trying to implement.

    Could you forget implementation details for a moment and describe the use case instead?

  • PhillyNJ Profile Picture
    81 on at

    Sure! We need to implement a 3rd party payment provider to authorize credit cards for D365 F&O. Our system does not use POS. Credit cards can be entered directly in F&O, or electronicly via eCommerce. The 3rd party I am using has a JSON API to authenticate cards, tokenize cards, apply refunds ext...

    Use case F&O

    1. Create Order
    2. Add items to order
    3. Add credit card payment -
    4. Card is authenticated
  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    Unfortunately I'm not familiar Retail, namely the Payment SDK, therefore I can't help with it. :-( You'll need to wait for someone with this expertise.

  • tutsin Profile Picture
    20 on at

    In a nutshell.

    1. Please check the sample implementation of the payment connector. You can find an example in the RetailSDK folder - K:\RetailSDK\Payments\Connector.Sample

    Pay attention to the IPaymentProcessor interface implementation.

    2. Compile the project and generate dll

    3. Create a model for connector deployment. Please follow the article.

    docs.microsoft.com/.../payment-connector-package

    Use the DLL from step 2.

    4. Restart IIS

    5. Go to the following form Accounts receivable -> Payments setup -> Payment services

    6. Click add and see if your new connector is available.

    7. And the most important step is - Implement your connector. You have to implement the most common methods - Authorize/Capture/Refund/Void, etc.

    Kanstantsin Tutsin

  • Steve Briggs Profile Picture
    20 on at

    Hello. It looks like I too need to create a customer payment connector to F&O to process through Braintree. Did you succeed at this?

  • PhillyNJ Profile Picture
    81 on at

    No - I was lucky and my company purchased a 3rd party connector.

  • Steve Briggs Profile Picture
    20 on at

    Oh ok. Which connector did you get?

  • PhillyNJ Profile Picture
    81 on at

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans