This article will walk through the lifecycle of the Donation Status.
When initially created, Opportunities are set to Pledged.
When a Payment is processed successfully, the Opportunity will be set to Closed Won.
When a Payment is processed unsuccessfully, the Opportunity will be set to Retrying whilst the retry logic is running in Stripe (depending on the configuration of the retry logic in Stripe).
Note: for further information about managing failed payments in Stripe, click here.
When the Retry logic resolves in a successful Payment (after the retry logic has completed), the Opportunity will be set to Closed Won.
When the Retry logic resolves in an unsuccessful Payment (after the retry logic has completed), the Opportunity will be set to Closed Lost.
The Retry logic can be expressed by following flowchart: