Apex questionsQuestion 74 of 179
ApexArchitect (Hardest)integrationcalloutstransactions
Design compensating transaction when external payment API fails after Salesforce commit
Scenario
Order saved in Salesforce triggers payment capture callout. Gateway timeout causes unknown payment state while Order shows Paid in Salesforce.
Answer it out loud first
Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.