Module 4 · Interview Prep: A Payment Gateway Lesson 22 of 54

Payment States and the Processor Timeout

A state machine, guarded updates, and what to do when the processor goes silent.

2:37 clip46:02–48:39 in the full courseWatch on YouTube

Transcript

38 sentences · select one to jump there

Check your understanding

Sara's authorization call to the processor times out after ten seconds. What is the safe move?

Choose one answer

Lesson notes

The rule

Never retry blind with a new reference: resolve an unknown payment by asking the processor