How adyen/adyen-salesforce-oms works
This is an Adyen payment-gateway integration for Salesforce Order Management. Its operator workflow configures gateway credentials, site endpoints, merchant accounts, webhooks, layouts, and permissions; the runtime supports order payments, notifications, refunds, and payment links. The map includes the principal payment, webhook, and payment-link stages alongside configuration and OMS support. Several Salesforce runtime subsystems are represented from the file tree only; their internal calls are left unverified rather than inferred.
Main entry points: adyenOMSConfigPage.js OMS setup wizard · AdyenOOBOController.cls Payment link controller · AdyenPaymentHelper.cls Payment operations · AdyenConfigPageController.cls Setup controller
Components 31
Setup wizard
- OMS setup wizard
force-app/main/default/lwc/adyenOMSConfigPage/adyenOMSConfigPage.js - Gateway setup
force-app/main/default/lwc/adyenConfigPagePaymentGateway/adyenConfigPagePaymentGateway.js - Merchant setup
force-app/main/default/lwc/adyenConfigPageMerchantAccount/adyenConfigPageMerchantAccount.js - Webhook setup
force-app/main/default/lwc/adyenConfigPageWebhookSetup/adyenConfigPageWebhookSetup.js - Site setup
force-app/main/default/lwc/adyenConfigPageSiteEndpoint/adyenConfigPageSiteEndpoint.js - Layout setup
force-app/main/default/lwc/adyenConfigPageLayoutSetup/adyenConfigPageLayoutSetup.js - Permission setup
force-app/main/default/lwc/adyenConfigPagePermissionSetup/adyenConfigPagePermissionSetup.js - Setup controller
force-app/main/default/classes/AdyenConfigPageController.cls - Merchant controller
force-app/main/default/classes/AdyenMerchantAccountController.cls - Webhook setup controller
force-app/main/default/classes/AdyenWebhookSetupController.cls - Management API client
force-app/main/default/classes/AdyenManagementAPIService.cls
Payment processing
- OMS gateway adapter
force-app/main/default/classes/AdyenGatewayAdapter.cls - Payment operations
force-app/main/default/classes/AdyenPaymentHelper.cls - Authorization handling
force-app/main/default/classes/AdyenAuthorisationHelper.cls - Capture handling
force-app/main/default/classes/AdyenCaptureHelper.cls - Refund handling
force-app/main/default/classes/AdyenRefundHelper.cls - Salesforce payment records
force-app/main/default/objects/Payment - OMS order events
force-app/main/default/classes/OrderSummaryCreatedEventHandler.cls
Webhook handling
- Notification handler
force-app/main/default/classes/AdyenWebhookNotificationHandler.cls - Webhook service
force-app/main/default/classes/AdyenWebhookService.cls - Event handlers
force-app/main/default/classes/AdyenNotificationHandler.cls - Deployment result event
force-app/main/default/objects/Adyen_Metadata_Deployment_Result__e/Adyen_Metadata_Deployment_Result__e.object-meta.xml
Payment links
- Payment link actions
force-app/main/default/classes/PaymentLinkGenerateAction.cls - Payment link controller
force-app/main/default/classes/AdyenOOBOController.cls - Payment link jobs
force-app/main/default/classes/AdyenPaymentLinkBatch.cls - Payment link records
force-app/main/default/objects/Payment_Link__c/Payment_Link__c.object-meta.xml - Choose payment
force-app/main/default/lwc/choosePayment/choosePayment.js - Link confirmation
force-app/main/default/lwc/adyenPblConfirmationScreen/adyenPblConfirmationScreen.js
Other components
- Salesforce admin
- Adyen Checkout API
- Shopper
Connections 33
- Salesforce admin → OMS setup wizard: configures
- OMS setup wizard → Gateway setup: steps through
- OMS setup wizard → Merchant setup: steps through
- OMS setup wizard → Webhook setup: steps through
- OMS setup wizard → Site setup: steps through
- OMS setup wizard → Layout setup: steps through
- OMS setup wizard → Permission setup: steps through
- Gateway setup → Setup controller: calls
force-app/main/default/lwc/adyenConfigPagePaymentGateway/adyenConfigPagePaymentGateway.js - Site setup → Setup controller: calls
force-app/main/default/lwc/adyenConfigPageSiteEndpoint/adyenConfigPageSiteEndpoint.js - Layout setup → Setup controller: calls
force-app/main/default/lwc/adyenConfigPageLayoutSetup/adyenConfigPageLayoutSetup.js - Permission setup → Setup controller: calls
force-app/main/default/lwc/adyenConfigPagePermissionSetup/adyenConfigPagePermissionSetup.js - Merchant setup → Merchant controller: calls
force-app/main/default/lwc/adyenConfigPageMerchantAccount/adyenConfigPageMerchantAccount.js - Merchant setup → Management API client: fetches accounts
force-app/main/default/lwc/adyenConfigPageMerchantAccount/adyenConfigPageMerchantAccount.js - Webhook setup → Webhook setup controller: calls
force-app/main/default/lwc/adyenConfigPageWebhookSetup/adyenConfigPageWebhookSetup.js - Webhook setup → Deployment result event: subscribes
force-app/main/default/lwc/adyenConfigPageWebhookSetup/adyenConfigPageWebhookSetup.js - OMS gateway adapter → Adyen Checkout API: sends payment requests
- OMS gateway adapter → Payment operations: delegates
- Payment operations → Authorization handling: delegates
- Payment operations → Capture handling: delegates
- Payment operations → Refund handling: delegates
- Payment operations → Salesforce payment records: updates
- Notification handler → Webhook service: delegates
- Notification handler → Event handlers: dispatches
- Webhook service → Adyen Checkout API: configures webhooks
- Shopper → Choose payment: selects mode
- Choose payment → Payment link controller: requests link
- Payment link actions → Payment link controller: invokes
- Payment link controller → Payment link records: creates or updates
- Payment link jobs → Payment link records: processes
- Payment link controller → Link confirmation: returns link details
- Link confirmation → Payment link controller: looks up order
force-app/main/default/lwc/adyenPblConfirmationScreen/adyenPblConfirmationScreen.js - OMS order events → Payment link controller: triggers link flow
- OMS gateway adapter → OMS order events: supports OMS orders