Skip to content

[PB-6873]: feature/sign up passwordless for checkout - #2202

Merged
xabg2 merged 35 commits into
masterfrom
featurew/sign-up-passwordless-for-checkout
Oct 8, 2026
Merged

xabg2 merged 35 commits into
masterfrom
featurew/sign-up-passwordless-for-checkout

Conversation

@xabg2

@xabg2 xabg2 commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Description

What's new

  • New customers can buy a plan using only their email: the checkout no longer asks them for a password, and their Drive account is created after the payment.
  • After paying, the buyer sees a "Check your email" screen. The email has a link to set the password and access the account with the plan already applied.
  • The /complete-account screen shows a clear message when the link has expired or was already used, and lets the user ask for a new one.
  • Customers with a pending setup can resend the setup email from the checkout, the success screen, login and sign-up (up to 5 per day). The previous link stops working.
  • Logging in or signing up (including from invitations) with an email whose purchase is pending setup now asks the user to finish it from their email, instead of showing an error.
  • If the email already has an account, the checkout switches to log in. Paying with crypto requires being logged in.
  • Opening a file by direct URL now shows its thumbnail correctly.

Related Issues

Related Pull Requests

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

Additional Notes

xabg2 and others added 30 commits September 29, 2026 10:58
Add the passwordless checkout groundwork: an env flag, a checkout SDK
client that carries no session token, an account-setup service, and
the createCustomerWithoutAccount/withoutSession option in the checkout
service and payment hook. No user-facing behaviour changes yet.
Add a passwordless sign-up path to the checkout: the password field is
hidden, the customer is created without a Drive account, and the
purchase can be resolved without asking the buyer to authenticate.
Cover the email-already-registered and pending-setup cases and let the
buyer resend the account-setup email.
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.
Add the services and hooks to complete the setup of an account paid
from checkout using the token from the account setup email, and
extract new-account credential generation out of the sign-up flow so
it can be reused.
Add the screen, its route and translations for finishing the setup of
an account paid from checkout when the user follows the link sent by
email.
…session

[PB-6912]: feat/support the checkout without a Drive session
…r-checkout' into feat/PB-6912-pay-with-email-only
[PB-6912]: feat/let new customers pay with only their email
…r-checkout' into feat/PB-6912-check-your-email-screen
…vice

[PB-6913]: feat/add the account setup service
[PB-6913]: feat/add the account setup screen from the email link
…etup-on-login

[PB-6914]: feat/ask users with a pending account setup to finish it from their email
…r-checkout' into feat/PB-6912-check-your-email-screen
…screen

[PB-6912]: feat/add the check-your-email screen after paying without an account
@xabg2 xabg2 self-assigned this Oct 6, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 92131c1
Status: ✅  Deploy successful!
Preview URL: https://ab9aecae.drive-web.pages.dev
Branch Preview URL: https://featurew-sign-up-passwordles.drive-web.pages.dev

View logs

@xabg2 xabg2 added the enhancement New feature or request label Oct 6, 2026
@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

@xabg2
xabg2 merged commit 9e7cb9b into master Oct 8, 2026
10 of 11 checks passed
@xabg2
xabg2 deleted the featurew/sign-up-passwordless-for-checkout branch October 8, 2026 10:57
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