Toast disappears before the user can necessarily act on it — use it only when there's no action to take. Alert stays on screen until dismissed, which is what an action requires.
Confirms something happened. Auto-dismisses in 3s — fine, because there's nothing to do about it.
Your card was declined
Update your payment method to keep this subscription active.
Stays until the user acts or explicitly dismisses it — never auto-clears.