Skip to content

[PB-6912]: feat/add the check-your-email screen after paying without an account - #2189

Merged
xabg2 merged 6 commits into
featurew/sign-up-passwordless-for-checkoutfrom
feat/PB-6912-check-your-email-screen
Oct 6, 2026
Merged

xabg2 merged 6 commits into
featurew/sign-up-passwordless-for-checkoutfrom
feat/PB-6912-check-your-email-screen

Conversation

@xabg2

@xabg2 xabg2 commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Description

Last part of PB-6912: after paying without an account, the buyer sees a "check your email" screen with the email the setup link was sent to, a button to resend it and a hint to check the spam folder. Logged-in buyers keep going to Drive as before.

The checkout success route no longer requires a session, since the payment provider sends buyers without an account back to it.

Related Issues

  • PB-6912 (subtask of PB-6873)

Related Pull Requests

  • Depends on the previous PR of this stack (feat/PB-6912-pay-with-email-only)
  • internxt/payments-server#410 — sends the setup email when the payment is confirmed

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

Testing Process

Unit tests for the success screen (buyer without a session sees the check-your-email screen; logged-in buyer is redirected to Drive). tsc, lint, the i18n check and the checkout test suites pass.

Additional Notes

Purchases without a stored user are not tracked by the GA and Impact trackers (Meta is); this needs a separate decision. Non-English translations are drafts.

Show a dedicated success screen for buyers who paid without an
account, asking them to check their email to finish setting it up
(with a resend option), and open the checkout success route to
unauthenticated buyers.
@xabg2 xabg2 added the enhancement New feature or request label Sep 29, 2026
@xabg2 xabg2 self-assigned this Sep 29, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 23407ec
Status:⚡️  Build in progress...

View logs

@xabg2
xabg2 marked this pull request as ready for review September 30, 2026 09:38
localStorageService.removeItem(LocalStorageItem.CouponCode);
}

const CheckYourEmail = ({ email }: { email: string }) => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

something strange name for a component. Maybe something as AccountSetupEmailSentCard is more accurate for a component

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Indeed, improving the name of the component. 👍🏽

Comment on lines +70 to +72
if (accountSetupEmail) {
return;
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

in this case the CheckoutAccountSetupEmail is never removed. Is this the desired behaviour?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yep, as we use this variable to display either the "Setup email has been sent" screen or redirect the user to the app (like the current flow). This variable should be removed after the account setup. Maybe this component is not the place to remove the variable and we can move the removal to another place.

@xabg2
xabg2 requested a review from CandelR October 5, 2026 11:15
Base automatically changed from feat/PB-6912-pay-with-email-only to featurew/sign-up-passwordless-for-checkout October 6, 2026 11:48
xabg2 added 2 commits October 6, 2026 15:38
…r-checkout' into feat/PB-6912-check-your-email-screen
…r-checkout' into feat/PB-6912-check-your-email-screen
@xabg2
xabg2 merged commit cf1b44b into featurew/sign-up-passwordless-for-checkout Oct 6, 2026
2 of 3 checks passed
@xabg2
xabg2 deleted the feat/PB-6912-check-your-email-screen branch October 6, 2026 14:23
@sonarqubecloud

sonarqubecloud Bot commented Oct 6, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants