Cert++
Close

Aura checkout integration Apex interfaces and IntegrationStatus

Key Takeaway

Implement one of the four sfdc_checkout interfaces, return an sfdc_checkout.IntegrationStatus set to SUCCESS or FAILED, then register the class and map it to the store.

B2B stores built with the Aura template use a checkout integrations framework to run your own Apex for inventory, pricing, shipping, and tax during checkout. Your class reports success or failure through an IntegrationStatus. You then register the class and map it to the store so checkout can find it.

The four interfaces

All checkout integration types live in the sfdc_checkout namespace. AsyncCartProcessor is the base interface for asynchronous B2B Commerce integrations. Four interfaces extend it, and your class implements one of them:

  • CartInventoryValidation for inventory
  • CartPriceCalculations for pricing
  • CartShippingCharges for shipping
  • CartTaxCalculations for tax
Salesforce Accredited B2B Commerce Developer Professional Study Guide

Checklist progress

0/124Learned

Code implementations against the 4 crucial reference implementations used in checkout and payment interfaces with in-depth knowledge of all supported actions

0/23

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Salesforce Accredited B2B Commerce Developer Professional studiers.