web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    236,320 Most Valuable Professional on at
    RE: Creating and installing custom payment connector

    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
    RE: Creating and installing custom payment connector

    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
    236,320 Most Valuable Professional on at
    RE: Creating and installing custom payment connector

    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
    RE: Creating and installing custom payment connector

    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
    236,320 Most Valuable Professional on at
    RE: Creating and installing custom payment connector

    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
    RE: Creating and installing custom payment connector

    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
    RE: Creating and installing custom payment connector

    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
    RE: Creating and installing custom payment connector

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

  • Steve Briggs Profile Picture
    20 on at
    RE: Creating and installing custom payment connector

    Oh ok. Which connector did you get?

  • PhillyNJ Profile Picture
    81 on at
    RE: Creating and installing custom payment connector

    Adyen -https://docs.microsoft.com/en-us/dynamics365/commerce/dev-itpro/adyen-connector?tabs=10-0-23

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,100

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 890 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 633 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans