[PR #6958] [MERGED] [PM-37804] feat: Confirm before leaving the app to Stripe checkout #114047

Closed
opened 2026-06-06 13:46:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6958
Author: @SaintPatrck
Created: 5/20/2026
Status: Merged
Merged: 5/20/2026
Merged by: @SaintPatrck

Base: mainHead: premium-upgrade/pm-37804-stripe-checkout-confirmation


📝 Commits (1)

  • 16f68d0 [PM-37804] feat: Confirm before leaving the app to Stripe checkout

📊 Changes

3 files changed (+81 additions, -7 deletions)

View changed files

📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/premium/plan/PlanScreen.kt (+24 -2)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/premium/plan/PlanScreenTest.kt (+56 -4)
📝 ui/src/main/res/values/strings.xml (+1 -1)

📄 Description

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-37804

📔 Objective

The Upgrade now CTA on the Free Premium plan view launched the Stripe checkout URL with no acknowledgement that the user was about to leave the app. Mirror the Manage Plan confirmation pattern: the button now opens a two-button dialog ("Continue to Stripe?" / "You'll go to Stripe's secure checkout to complete your purchase.") and only fetches the checkout URL when the user confirms, giving them a chance to back out without an unnecessary network call.

Also renames the existing stripe_checkout_footer string resource to mirror its value, matching the project convention for naming resources from their text.

📸 Screenshots


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/6958 **Author:** [@SaintPatrck](https://github.com/SaintPatrck) **Created:** 5/20/2026 **Status:** ✅ Merged **Merged:** 5/20/2026 **Merged by:** [@SaintPatrck](https://github.com/SaintPatrck) **Base:** `main` ← **Head:** `premium-upgrade/pm-37804-stripe-checkout-confirmation` --- ### 📝 Commits (1) - [`16f68d0`](https://github.com/bitwarden/android/commit/16f68d08d20bd60bb7d7d31445696142e14bb3be) [PM-37804] feat: Confirm before leaving the app to Stripe checkout ### 📊 Changes **3 files changed** (+81 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/premium/plan/PlanScreen.kt` (+24 -2) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/premium/plan/PlanScreenTest.kt` (+56 -4) 📝 `ui/src/main/res/values/strings.xml` (+1 -1) </details> ### 📄 Description ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-37804 ## 📔 Objective The Upgrade now CTA on the Free Premium plan view launched the Stripe checkout URL with no acknowledgement that the user was about to leave the app. Mirror the Manage Plan confirmation pattern: the button now opens a two-button dialog ("Continue to Stripe?" / "You'll go to Stripe's secure checkout to complete your purchase.") and only fetches the checkout URL when the user confirms, giving them a chance to back out without an unnecessary network call. Also renames the existing `stripe_checkout_footer` string resource to mirror its value, matching the project convention for naming resources from their text. ## 📸 Screenshots <img width="365" src="https://github.com/user-attachments/assets/00ff5022-72a1-46a4-bc50-89a3f4613f12" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-06 13:46:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#114047