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

Client_Reference_ID input fails to create checkoutsession, customer record etc. #636

Open
gargsarthak17 opened this issue Aug 23, 2024 · 0 comments

Comments

@gargsarthak17
Copy link

Bug report

  • Firestore-Stripe-Payments

When using price table generated in dashboard in app, and pushing through client_reference_id, the webhook fails with no user found (webhook inspect correctly shows user uid as being passed as client_reference_id). No user doc is created under customers collection in firestore. no checkout session in firestore etc. Because of this, my customer never gets the metadata stripe role and subscription does not work.

To Reproduce

  1. Create any price table in stripe.
  2. implement it on web app. pass auth uid as client reference id.
  3. click purchase.

Expected behavior

A userdoc should be created as per the createcustomer function in webhook payments cloud function.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

Browser

Additional context

It seems to be working fine when using get checkout url.

Add any other context about the problem here.

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