Allow failed subscriptions to be cancelled (#3795)

When a payment for a subscription fails, we continue to try to re-attempt retrieving payment for 30 days.

Sometimes making it fail is an intentional choice on the user's part (e.g. Privacy.com card) or other times the user just doesn't want their subscription anymore after it fails.

This PR allows users with a failed payment to simply cancel instead of waiting for the 30-day timer to set in.
This commit is contained in:
Emma Alexia 2025-06-16 01:41:07 -04:00 committed by GitHub
parent a08562bfe2
commit 5bdff3929b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -330,8 +330,7 @@
<ButtonStyled
v-if="
getPyroCharge(subscription) &&
getPyroCharge(subscription).status !== 'cancelled' &&
getPyroCharge(subscription).status !== 'failed'
getPyroCharge(subscription).status !== 'cancelled'
"
>
<button @click="showCancellationSurvey(subscription)">