Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Practical tasksMiddleCommonPractical

How would you test an online payment flow when the payment provider is external?

Answer

Cover amount and currency, redirects or tokenization, authentication, success, decline, cancellation, timeout, duplicate submission, webhook ordering, retries, reconciliation and privacy. Use provider test modes and verify local state against provider outcomes.

Strong answer includes

  • asynchronous provider outcomes
  • idempotency and reconciliation
  • sensitive-data boundaries

Practical example

While testing a payment flow, a QA engineer double-clicked the pay button on a slow connection and found the order was charged twice because the endpoint lacked an idempotency key; the fix required deduplicating on a client-generated request ID before the transaction was submitted to the provider.

#payments#integration#idempotency

Sources

DOU — QA interview: 250+ questionsDOU · Coverage signal across Junior, Middle, Senior, AQA, web, mobile and practical topicsOWASP API Security Top 10 — 2023OWASP · Authorization, authentication, resource consumption and API-specific risks