...
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).
...
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:
...