Skip to content

Allow for anonymous customer_id in checkout #662

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

Open
peteristhegreat opened this issue Apr 11, 2025 · 0 comments
Open

Allow for anonymous customer_id in checkout #662

peteristhegreat opened this issue Apr 11, 2025 · 0 comments

Comments

@peteristhegreat
Copy link

peteristhegreat commented Apr 11, 2025

Feature request

  • Extension name: firestore-stripe-payments

Is your feature request related to a problem? Please describe.

I am making a checkout system similar to a POS device. If the user wants a receipt, then they put in their email. If they don't care, or don't want it, then they don't put in their email.

Describe the solution you'd like

Stripe supports guest users, if the customer_id is null. Can this get supported in this library?

Maybe the location for guest checkouts could be all under a single customer id "guest" or "anonymous", so the checkout sessions and payment intents are still stored how they are currently.

Describe alternatives you've considered

#94

This looks like a similar-ish idea, but for some other niche case.

I already am using Do Not Sync option. I want it to go one step further and not require the customer_id to be set at all.

Another alternative I've looked at is creating a hashed email based on pieces of information from their form... But this is still just a bogus email to create a firebase auth login to let everything work.

Additional context

Thanks for the great library and for the maintenance on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant