Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dont show refund cancelled message when user cancels refund #4587

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

fire-at-will
Copy link
Contributor

@fire-at-will fire-at-will commented Dec 13, 2024

Motivation

Currently, when the user cancels a refund, we show the following message on the SubscriptionDetailsView screen under the "Refund Status" message:

This message is a little confusing because it implies that a refund was created and was then cancelled, when one was never created in the first place. When I saw the message, my first thought was, "do I have the money, or does the developer?".

Description

This PR modifies the behavior so that the "Refund Status" section doesn't display at all when the user dismisses the refund screen without creating a refund, since the user already knows that they cancelled it.

The PR doesn't remove the refundCanceled localized string in case we need it in the future here or on another platform.

Copy link
Contributor

@vegaro vegaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:ship-it:

@fire-at-will fire-at-will merged commit e13379a into main Dec 13, 2024
10 checks passed
@fire-at-will fire-at-will deleted the dont-show-user-cancelled-refund-message branch December 13, 2024 17:38
This was referenced Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants