SlideShare a Scribd company logo
1 of 53
Dynamics 365
Commerce.
Uncensored.
Webinar #1
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
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
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
Agenda
Webinar 1
Refresh!
01
Architect payment integrations for Dynamics 365 eCommerce (intro)
02
Refresh!
• Terminology
• What is a ‘scale unit’?
• What is ‘headless commerce’?
Terminology
Dynamics 365
Commerce "D365" Backoffice HQ F&O (headquarters)
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
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
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
Do together with me :)
Practice: scale unit APIs in eCommerce
Architect
payment integrations for
Dynamics 365 eCommerce
(intro)
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
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
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
Why do we need to integrate payments with
e-commerce, POS and other systems?
Always: Allow customer to pay for goods or services
01
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
Which payments systems
are you using/integrating
with?
Share in Teams chat
How does payment
integration happen?
Integration happens through integration
APIs provided by payment
platform/system/provider.
eCommerce web
site
APIs
How can I find
integration APIs?
Google or ask payment service company.
eCommerce web
site
How can integration
API documentation
look like?
eCommerce web
site
eCommerce web
site
The challenge of payment integrations
In modern world retailers need to support various methods of payments.
Payment integration
via a payment
solution
To simplify integration management.
eCommerce web
site
Payment integration
via a payment
solution
To simplify integration management.
eCommerce web
site
Demo: Dynamics 365 eCommerce and Adyen
payment integration
https://docs.adyen.com/development-resources/testing/test-card-numbers/
Dynamics 365
eCommerce and multiple
payment integrations
Demo: Dynamics 365 eCommerce and Tamara
payment integration
D365 eCommerce
payment integrations
Payment
Within e-
commerce page
iframe
Adyen
Paypal
Redirect to a
payment provider
page
Tamara
Klarna
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.
Out-of-the-box D365 eCommerce payment
connectors
Adyen
PayPal
Google Pay via Adyen
Apple Pay via Adyen
TestConnector
(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
e-Commerce payment flow with ‘single payment
authorization checkout’ enabled
https://learn.microsoft.com/en-us/dynamics365/commerce/dev-itpro/enhanced-sca
Demo: Pay with Adyen with flag enabled
Demo: Pay with Adyen with flag disabled
Scale unit
e-Commerce payment flow
APIs
<html>
<head>
<meta charset="UTF-8">
</head>
<body>...</body>
<html>
GetCardPaymentAcceptPoint
HTML control definition
Flag enabled
e-Commerce payment flow
Scale unit
APIs
GetCardPaymentAcceptPoint
HTML control definition
Flag enabled
e-Commerce payment flow
HTML control definition
Scale unit
APIs
Payment
service
GetCardPaymentAcceptPoint
Flag enabled
Scale unit
e-Commerce payment flow
Checkout (cart + card details)
APIs
Tokenize &
authorize
payment
Finished transaction
Flag enabled
Transaction and
payment saved
to database
e-Commerce payment flow
Checkout
Payment
connector
DLL
GetCardPaymentAcceptPoint
HTML control
definition
Finished transaction
Flag enabled
APIs
Scale unit
Get HTML
Payment
service
Tokenize & authorize payment
Transaction and payment saved
to database
Bonus: detailed eCommerce
payment flow
Can be downloaded from Telegram channel:
https://t.me/+AX7u0Ap-hQlkYmUy
Flag enabled
What is inside payment connector?
• С# class
• Implementing multiple interfaces
• Interfaces require multiple methods:
• GetMerchantAccountPropertyMetadata
• GetCardPaymentAcceptPoint
• Authorize
• Capture
• Void
• Refund
• …
/GetPaymentAcceptPoint
/GetMerchantAccount
PropertyMetadata
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
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
Adyen connector in HQ, SCU and eCommerce
D365 Commerce HQ
Scale unit
Adyen connector in HQ, SCU and eCommerce
D365 Commerce HQ
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
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
Any questions?
Share in Teams chat
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 …
Bonus: detailed eCommerce
payment flow
Can be downloaded from Telegram channel:
https://t.me/+AX7u0Ap-hQlkYmUy
D365 Commerce webinar.pdf

More Related Content

Similar to D365 Commerce webinar.pdf

NetSuite Special Integration Issues
NetSuite Special Integration Issues NetSuite Special Integration Issues
NetSuite Special Integration Issues 4Thought Marketing
 
Different architecture topology for dynamics 365 retail
Different architecture topology for dynamics 365 retailDifferent architecture topology for dynamics 365 retail
Different architecture topology for dynamics 365 retailSonny56
 
Salesforce Integration with MuleSoft | MuleSoft Mysore Meetup #12
Salesforce Integration with MuleSoft | MuleSoft Mysore Meetup #12Salesforce Integration with MuleSoft | MuleSoft Mysore Meetup #12
Salesforce Integration with MuleSoft | MuleSoft Mysore Meetup #12MysoreMuleSoftMeetup
 
Net suite special issues
Net suite special issues Net suite special issues
Net suite special issues Mark T. LeVell
 
Commsverse 2022 Kai Stenberg.pptx
Commsverse 2022 Kai Stenberg.pptxCommsverse 2022 Kai Stenberg.pptx
Commsverse 2022 Kai Stenberg.pptxKai Stenberg
 
Evolve 2014 experience driven commerce
Evolve 2014 experience driven commerceEvolve 2014 experience driven commerce
Evolve 2014 experience driven commerceElastic Path
 
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...Jitendra Bafna
 
Leading CRM Solutions – An Overview and Comparison
Leading CRM Solutions – An Overview and ComparisonLeading CRM Solutions – An Overview and Comparison
Leading CRM Solutions – An Overview and ComparisonNet at Work
 
Xybermotive introduction (en) 092014
Xybermotive introduction (en) 092014Xybermotive introduction (en) 092014
Xybermotive introduction (en) 092014Hans-Chr. Brockmann
 
Directions ASIA 2018 - richer integration with logic apps for ms dynamics - p...
Directions ASIA 2018 - richer integration with logic apps for ms dynamics - p...Directions ASIA 2018 - richer integration with logic apps for ms dynamics - p...
Directions ASIA 2018 - richer integration with logic apps for ms dynamics - p...Wagner Silveira
 
Intuit Siebel-Salesforce Interoperation Case Study
Intuit Siebel-Salesforce Interoperation Case StudyIntuit Siebel-Salesforce Interoperation Case Study
Intuit Siebel-Salesforce Interoperation Case StudyPanviva
 
Oracle Commerce Using ATG & Endeca - Do It Yourself Series
Oracle Commerce Using ATG & Endeca - Do It Yourself SeriesOracle Commerce Using ATG & Endeca - Do It Yourself Series
Oracle Commerce Using ATG & Endeca - Do It Yourself SeriesKeyur Shah
 
Dyn crm2013 whatsnew_v1_0_cr
Dyn crm2013 whatsnew_v1_0_crDyn crm2013 whatsnew_v1_0_cr
Dyn crm2013 whatsnew_v1_0_crMarcello Fisicaro
 
[Webinar] - Digital Transformation Through Salesforce | JK Tehnosoft
[Webinar] - Digital Transformation Through Salesforce | JK Tehnosoft[Webinar] - Digital Transformation Through Salesforce | JK Tehnosoft
[Webinar] - Digital Transformation Through Salesforce | JK TehnosoftJK Tech
 
Microsoft Dynamics 365 IA - Copilot/ Fabric
Microsoft Dynamics 365 IA - Copilot/ FabricMicrosoft Dynamics 365 IA - Copilot/ Fabric
Microsoft Dynamics 365 IA - Copilot/ FabricJuan Fabian
 

Similar to D365 Commerce webinar.pdf (20)

NetSuite Special Integration Issues
NetSuite Special Integration Issues NetSuite Special Integration Issues
NetSuite Special Integration Issues
 
Different architecture topology for dynamics 365 retail
Different architecture topology for dynamics 365 retailDifferent architecture topology for dynamics 365 retail
Different architecture topology for dynamics 365 retail
 
Salesforce Integration with MuleSoft | MuleSoft Mysore Meetup #12
Salesforce Integration with MuleSoft | MuleSoft Mysore Meetup #12Salesforce Integration with MuleSoft | MuleSoft Mysore Meetup #12
Salesforce Integration with MuleSoft | MuleSoft Mysore Meetup #12
 
Net suite special issues
Net suite special issues Net suite special issues
Net suite special issues
 
Nestosh portfolio
Nestosh portfolioNestosh portfolio
Nestosh portfolio
 
Commsverse 2022 Kai Stenberg.pptx
Commsverse 2022 Kai Stenberg.pptxCommsverse 2022 Kai Stenberg.pptx
Commsverse 2022 Kai Stenberg.pptx
 
Transeo_Web
Transeo_WebTranseo_Web
Transeo_Web
 
5Transeo_Web
5Transeo_Web5Transeo_Web
5Transeo_Web
 
5Transeo_Web
5Transeo_Web5Transeo_Web
5Transeo_Web
 
Evolve 2014 experience driven commerce
Evolve 2014 experience driven commerceEvolve 2014 experience driven commerce
Evolve 2014 experience driven commerce
 
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
 
Leading CRM Solutions – An Overview and Comparison
Leading CRM Solutions – An Overview and ComparisonLeading CRM Solutions – An Overview and Comparison
Leading CRM Solutions – An Overview and Comparison
 
Xybermotive introduction (en) 092014
Xybermotive introduction (en) 092014Xybermotive introduction (en) 092014
Xybermotive introduction (en) 092014
 
Directions ASIA 2018 - richer integration with logic apps for ms dynamics - p...
Directions ASIA 2018 - richer integration with logic apps for ms dynamics - p...Directions ASIA 2018 - richer integration with logic apps for ms dynamics - p...
Directions ASIA 2018 - richer integration with logic apps for ms dynamics - p...
 
Intuit Siebel-Salesforce Interoperation Case Study
Intuit Siebel-Salesforce Interoperation Case StudyIntuit Siebel-Salesforce Interoperation Case Study
Intuit Siebel-Salesforce Interoperation Case Study
 
Oracle Commerce Using ATG & Endeca - Do It Yourself Series
Oracle Commerce Using ATG & Endeca - Do It Yourself SeriesOracle Commerce Using ATG & Endeca - Do It Yourself Series
Oracle Commerce Using ATG & Endeca - Do It Yourself Series
 
Capability profile soluzione
Capability profile soluzioneCapability profile soluzione
Capability profile soluzione
 
Dyn crm2013 whatsnew_v1_0_cr
Dyn crm2013 whatsnew_v1_0_crDyn crm2013 whatsnew_v1_0_cr
Dyn crm2013 whatsnew_v1_0_cr
 
[Webinar] - Digital Transformation Through Salesforce | JK Tehnosoft
[Webinar] - Digital Transformation Through Salesforce | JK Tehnosoft[Webinar] - Digital Transformation Through Salesforce | JK Tehnosoft
[Webinar] - Digital Transformation Through Salesforce | JK Tehnosoft
 
Microsoft Dynamics 365 IA - Copilot/ Fabric
Microsoft Dynamics 365 IA - Copilot/ FabricMicrosoft Dynamics 365 IA - Copilot/ Fabric
Microsoft Dynamics 365 IA - Copilot/ Fabric
 

Recently uploaded

The 15 Minute Breakdown: 2024 Beauty Marketing Study
The 15 Minute Breakdown: 2024 Beauty Marketing StudyThe 15 Minute Breakdown: 2024 Beauty Marketing Study
The 15 Minute Breakdown: 2024 Beauty Marketing StudyKatherineBishop4
 
Film= Dubai Call Girls O525547819 Call Girls Dubai Whsatapp
Film= Dubai Call Girls O525547819 Call Girls Dubai WhsatappFilm= Dubai Call Girls O525547819 Call Girls Dubai Whsatapp
Film= Dubai Call Girls O525547819 Call Girls Dubai Whsatappkojalkojal131
 
Call Girls In Dev kunj Delhi 9654467111 Short 1500 Night 6000
Call Girls In Dev kunj Delhi 9654467111 Short 1500 Night 6000Call Girls In Dev kunj Delhi 9654467111 Short 1500 Night 6000
Call Girls In Dev kunj Delhi 9654467111 Short 1500 Night 6000Sapana Sha
 
Supermarket Floral Ad Roundup- Week 17 2024.pdf
Supermarket Floral Ad Roundup- Week 17 2024.pdfSupermarket Floral Ad Roundup- Week 17 2024.pdf
Supermarket Floral Ad Roundup- Week 17 2024.pdfKarliNelson4
 
Best VIP Call Girls Noida Sector 51 Call Me: 8448380779
Best VIP Call Girls Noida Sector 51 Call Me: 8448380779Best VIP Call Girls Noida Sector 51 Call Me: 8448380779
Best VIP Call Girls Noida Sector 51 Call Me: 8448380779Delhi Call girls
 
The 15 Minute Breakdown: 2024 Beauty Marketing Study
The 15 Minute Breakdown: 2024 Beauty Marketing StudyThe 15 Minute Breakdown: 2024 Beauty Marketing Study
The 15 Minute Breakdown: 2024 Beauty Marketing StudyTinuiti
 
Best VIP Call Girls Noida Sector 50 Call Me: 8448380779
Best VIP Call Girls Noida Sector 50 Call Me: 8448380779Best VIP Call Girls Noida Sector 50 Call Me: 8448380779
Best VIP Call Girls Noida Sector 50 Call Me: 8448380779Delhi Call girls
 
Best VIP Call Girls Noida Sector 55 Call Me: 8448380779
Best VIP Call Girls Noida Sector 55 Call Me: 8448380779Best VIP Call Girls Noida Sector 55 Call Me: 8448380779
Best VIP Call Girls Noida Sector 55 Call Me: 8448380779Delhi Call girls
 
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka
call Now 9811711561 Cash Payment乂 Call Girls in Dwarkacall Now 9811711561 Cash Payment乂 Call Girls in Dwarka
call Now 9811711561 Cash Payment乂 Call Girls in Dwarkavikas rana
 
Dubai Call Girls O525547&19 (Asii) Call Girls Dubai
Dubai Call Girls O525547&19 (Asii) Call Girls DubaiDubai Call Girls O525547&19 (Asii) Call Girls Dubai
Dubai Call Girls O525547&19 (Asii) Call Girls Dubaikojalkojal131
 
Indian Call Girl In Dubai #$# O5634O3O18 #$# Dubai Call Girl
Indian Call Girl In Dubai #$# O5634O3O18 #$# Dubai Call GirlIndian Call Girl In Dubai #$# O5634O3O18 #$# Dubai Call Girl
Indian Call Girl In Dubai #$# O5634O3O18 #$# Dubai Call GirlAroojKhan71
 
Top Rated Pune Call Girls Talegaon Dabhade ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated  Pune Call Girls Talegaon Dabhade ⟟ 6297143586 ⟟ Call Me For Genuin...Top Rated  Pune Call Girls Talegaon Dabhade ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated Pune Call Girls Talegaon Dabhade ⟟ 6297143586 ⟟ Call Me For Genuin...Call Girls in Nagpur High Profile
 

Recently uploaded (12)

The 15 Minute Breakdown: 2024 Beauty Marketing Study
The 15 Minute Breakdown: 2024 Beauty Marketing StudyThe 15 Minute Breakdown: 2024 Beauty Marketing Study
The 15 Minute Breakdown: 2024 Beauty Marketing Study
 
Film= Dubai Call Girls O525547819 Call Girls Dubai Whsatapp
Film= Dubai Call Girls O525547819 Call Girls Dubai WhsatappFilm= Dubai Call Girls O525547819 Call Girls Dubai Whsatapp
Film= Dubai Call Girls O525547819 Call Girls Dubai Whsatapp
 
Call Girls In Dev kunj Delhi 9654467111 Short 1500 Night 6000
Call Girls In Dev kunj Delhi 9654467111 Short 1500 Night 6000Call Girls In Dev kunj Delhi 9654467111 Short 1500 Night 6000
Call Girls In Dev kunj Delhi 9654467111 Short 1500 Night 6000
 
Supermarket Floral Ad Roundup- Week 17 2024.pdf
Supermarket Floral Ad Roundup- Week 17 2024.pdfSupermarket Floral Ad Roundup- Week 17 2024.pdf
Supermarket Floral Ad Roundup- Week 17 2024.pdf
 
Best VIP Call Girls Noida Sector 51 Call Me: 8448380779
Best VIP Call Girls Noida Sector 51 Call Me: 8448380779Best VIP Call Girls Noida Sector 51 Call Me: 8448380779
Best VIP Call Girls Noida Sector 51 Call Me: 8448380779
 
The 15 Minute Breakdown: 2024 Beauty Marketing Study
The 15 Minute Breakdown: 2024 Beauty Marketing StudyThe 15 Minute Breakdown: 2024 Beauty Marketing Study
The 15 Minute Breakdown: 2024 Beauty Marketing Study
 
Best VIP Call Girls Noida Sector 50 Call Me: 8448380779
Best VIP Call Girls Noida Sector 50 Call Me: 8448380779Best VIP Call Girls Noida Sector 50 Call Me: 8448380779
Best VIP Call Girls Noida Sector 50 Call Me: 8448380779
 
Best VIP Call Girls Noida Sector 55 Call Me: 8448380779
Best VIP Call Girls Noida Sector 55 Call Me: 8448380779Best VIP Call Girls Noida Sector 55 Call Me: 8448380779
Best VIP Call Girls Noida Sector 55 Call Me: 8448380779
 
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka
call Now 9811711561 Cash Payment乂 Call Girls in Dwarkacall Now 9811711561 Cash Payment乂 Call Girls in Dwarka
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka
 
Dubai Call Girls O525547&19 (Asii) Call Girls Dubai
Dubai Call Girls O525547&19 (Asii) Call Girls DubaiDubai Call Girls O525547&19 (Asii) Call Girls Dubai
Dubai Call Girls O525547&19 (Asii) Call Girls Dubai
 
Indian Call Girl In Dubai #$# O5634O3O18 #$# Dubai Call Girl
Indian Call Girl In Dubai #$# O5634O3O18 #$# Dubai Call GirlIndian Call Girl In Dubai #$# O5634O3O18 #$# Dubai Call Girl
Indian Call Girl In Dubai #$# O5634O3O18 #$# Dubai Call Girl
 
Top Rated Pune Call Girls Talegaon Dabhade ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated  Pune Call Girls Talegaon Dabhade ⟟ 6297143586 ⟟ Call Me For Genuin...Top Rated  Pune Call Girls Talegaon Dabhade ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated Pune Call Girls Talegaon Dabhade ⟟ 6297143586 ⟟ Call Me For Genuin...
 

D365 Commerce webinar.pdf

  • 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
  • 5. Agenda Webinar 1 Refresh! 01 Architect payment integrations for Dynamics 365 eCommerce (intro) 02
  • 6. Refresh! • Terminology • What is a ‘scale unit’? • What is ‘headless commerce’?
  • 7. Terminology Dynamics 365 Commerce "D365" Backoffice HQ F&O (headquarters)
  • 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
  • 11. Do together with me :) Practice: scale unit APIs in eCommerce
  • 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
  • 18. Which payments systems are you using/integrating with? Share in Teams chat
  • 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
  • 21. How can integration API documentation look like? eCommerce web site
  • 22. eCommerce web site The challenge of payment integrations In modern world retailers need to support various methods of payments.
  • 23. Payment integration via a payment solution To simplify integration management. eCommerce web site
  • 24. Payment integration via a payment solution To simplify integration management. eCommerce web site
  • 25. Demo: Dynamics 365 eCommerce and Adyen payment integration https://docs.adyen.com/development-resources/testing/test-card-numbers/
  • 26. Dynamics 365 eCommerce and multiple payment integrations
  • 27. Demo: Dynamics 365 eCommerce and Tamara payment integration
  • 28. D365 eCommerce payment integrations Payment Within e- commerce page iframe Adyen Paypal Redirect to a payment provider page Tamara Klarna
  • 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
  • 32. e-Commerce payment flow with ‘single payment authorization checkout’ enabled https://learn.microsoft.com/en-us/dynamics365/commerce/dev-itpro/enhanced-sca
  • 33. Demo: Pay with Adyen with flag enabled
  • 34. Demo: Pay with Adyen with flag disabled
  • 35. Scale unit e-Commerce payment flow APIs <html> <head> <meta charset="UTF-8"> </head> <body>...</body> <html> GetCardPaymentAcceptPoint HTML control definition Flag enabled
  • 36. e-Commerce payment flow Scale unit APIs GetCardPaymentAcceptPoint HTML control definition Flag enabled
  • 37. e-Commerce payment flow HTML control definition Scale unit APIs Payment service GetCardPaymentAcceptPoint Flag enabled
  • 38. Scale unit e-Commerce payment flow Checkout (cart + card details) APIs Tokenize & authorize payment Finished transaction Flag enabled Transaction and payment saved to database
  • 39. e-Commerce payment flow Checkout Payment connector DLL GetCardPaymentAcceptPoint HTML control definition Finished transaction Flag enabled APIs Scale unit Get HTML Payment service Tokenize & authorize payment Transaction and payment saved to database
  • 40. Bonus: detailed eCommerce payment flow Can be downloaded from Telegram channel: https://t.me/+AX7u0Ap-hQlkYmUy Flag enabled
  • 41. What is inside payment connector? • С# class • Implementing multiple interfaces • Interfaces require multiple methods: • GetMerchantAccountPropertyMetadata • GetCardPaymentAcceptPoint • Authorize • Capture • Void • Refund • …
  • 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
  • 46. Adyen connector in HQ, SCU and eCommerce D365 Commerce HQ Scale unit
  • 47. Adyen connector in HQ, SCU and eCommerce D365 Commerce HQ
  • 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 …
  • 52. Bonus: detailed eCommerce payment flow Can be downloaded from Telegram channel: https://t.me/+AX7u0Ap-hQlkYmUy