2. Dynamics 365 Commerce solution architect,
functional and technical consultant, developer
Roles
Fashion, FMCG, home furnishings and luxury
goods.
15+ D365 Commerce projects
Teaching consultants and developers in Noor
365 School
Teaching
OKSANA KOVALIOVA
Instructor
3. Webinar format
01 Instructor-led session
Structured information, knowledge base
02 Knowledge checks (quiz, discussion panels)
Validate your knowledge, do small practice on the fly
03 Extra materials
Configuration guides, checklists, cheat sheets, etc.
04 Q&A
Ask your questions
05 Feedback and next session topics
Influence on the topics we will cover
4. Our rules
Mute yourself
We all enjoy clear sound
space without noise.
Respect others
We are all unique
persons. Let’s enjoy the
webinars and care
about each other.
All questions are
valuable
It is safe place to ask
questions. All questions
are appreciated and will
be answered.
Did not ask question –
missed opportunity.
Stay focused
45 minutes of
useful knowledge
8. What is a ‘scale unit’
Scale unit is a web service + database that can be called by any system to execute some
business logic.
eCommerce POS
API
Headless commerce Retail server (web app)
Scale unit
Channel database
CDX Async client (service)
D365
Commerce
HQ
9. What is Headless commerce?
Headless commerce holds all commerce business logic and
database communication. Technically it is a set of DLL files.
Headless commerce (or CRT, or
Commerce Runtime)
eCommerce POS
API
Headless commerce Retail server (web app)
Scale unit
Channel database
CDX Async client (service)
D365
Commerce
HQ
10. What are scale unit APIs?
Scale unit (headless commerce APIs) is a way for applications to call scale unit to execute some
business logic.
D 365
eCommerce
POS
API
Headless commerce Retail server (web app)
Scale unit
Channel database
CDX Async client (service)
D365
Commerce
HQ
13. We will cover today
What payment integration is
01
D365 eCommerce payment integration flow
02
Steps to deliver a custom D365 eCommerce payment integration
03
14. We will not cover today
Payment integrations for Dynamics 365 POS and call center
01
Detailed payment integration scenarios
02
How to troubleshoot payment integrations
03
15. What is payment
integration?
Integration between some software and
payment platform/system/provider to let
customer pay for goods or services.
Normally requires development effort.
eCommerce web
site
16. Why do we need to integrate payments with
e-commerce, POS and other systems?
Always: Allow customer to pay for goods or services
01
17. Why do we need to integrate payments with
e-commerce, POS and other systems?
Always: Allow customer to pay for goods or services
01
Sometimes: Allow business to auto-cancel, refund payments (order canceled, returned, etc.),
collect payments by schedule, etc.
02
19. How does payment
integration happen?
Integration happens through integration
APIs provided by payment
platform/system/provider.
eCommerce web
site
APIs
20. How can I find
integration APIs?
Google or ask payment service company.
eCommerce web
site
29. Some payment
service
What does it mean to ‘develop
payment integration (payment connector) for
D365 eCommerce’?
Integrate software (D365 eCommerce) with some payment system by following the rules of D365 Commerce
payment connector framework.
30. Out-of-the-box D365 eCommerce payment
connectors
Adyen
PayPal
Google Pay via Adyen
Apple Pay via Adyen
TestConnector
31. (Custom) Tamara
(Custom) Tap payment
(Custom) Klarna via Adyen
(Custom) Twint via Adyen
(Custom) Checkout.com
(Custom) Payfort
(Customer) Tabby
…
Custom D365 eCommerce payment integrations
Payment
Within e-
commerce page
iframe
Redirect to a
payment
provider page
35. Scale unit
e-Commerce payment flow
APIs
<html>
<head>
<meta charset="UTF-8">
</head>
<body>...</body>
<html>
GetCardPaymentAcceptPoint
HTML control definition
Flag enabled
44. Where to find a sample payment connector?
• Request a basic sample from Microsoft support
• Research how Adyen and PayPal connectors work
• Find answers in PaymentSDK solution from Retail SDK
45. D365
Commerce HQ
Where to deploy payment connector DLL?
If this payment connector is going to be used by D365 eCommerce only.
D 365
eCommerce
POS
API
Headless commerce Retail server (web app)
Scale unit
Channel database
CDX Async client (service)
Payment connector DLL
Payment
connector DLL
48. Steps to have payment connector ready
Analyze
1. Get payment integration APIs from payment company
2. Determine the scope – which payment operations should be supported
3. Determine if you need ‘within e-commerce iframe’ or ‘payment redirect’ scenario
4. Validate API response compatibility with D365 eCommerce
5. Decide if to enable ‘single payment authorization checkout’ flag or not
Develop
1. Develop C# Payment connector by a sample + call integration APIs
2. Compile connector DLLs
Deploy
1. Deploy connector DLL as a part of a scale unit package to a scale unit
2. Deploy connector DLL as a part of HQ package to HQ
Configure
1. Configure HQ – payment connector properties, payment methods, cards, etc.
2. Send Distribution jobs to a channel database
3. Configure payment module in eCommerce
Test
1. Test from eCommerce
49. Is payment connector hard to develop?
• Can be time consuming when you just started
• D365 payment connector framework has limitations
• Payment service can have limitations
• Payment service integration APIs can be not user-friendly
• Payment service support can be weak
• Your scope can include only ‘pay’ integration or pay, cancel, void, refund, etc. – full set of
operations
• D365 eCommerce has known payment bugs
51. Your feedback is ‘Thank you’ for the webinar and energy exchange
Reflection
Share your feedback in Teams using the formula:
1. My energy level after the webinar is … (from 1 to 10)
2. My main insight from the webinar is …
3. I want to join next webinar: Yes/No
4. My question for the next webinar is …