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

[Bug]: Not getting the email id prefilled in the checkout dialog only for a new user and for the 1st time #68

Open
ShafiKhan141 opened this issue Oct 21, 2024 · 1 comment
Assignees

Comments

@ShafiKhan141
Copy link

What happened?

As attached in the 2nd screenshot, I'm getting the "customer" key as null, which is leading to my email being empty
From 2nd time onwards, it's working fine (attached in 1st ss)
Screenshot 2024-10-17 at 4 09 41 PM
Screenshot 2024-10-17 at 4 09 12 PM

Steps to reproduce

-> Make a new user
-> User tries to make payment(opens paddle checkout) and email field shows empty
-> User closes it again, and reopens, email is present

What did you expect to happen?

The email field should be filled on 1st try as well

How are you integrating?

React

Logs

No response

@danbillson
Copy link
Contributor

Hi @ShafiKhan141, thanks for raising the issue. Are you able to share any implementation details, which endpoints you're calling and order of operations?

Is there any sort of race condition being created where the response from creating a customer hasn't actually finished before opening the checkout?

@danbillson danbillson self-assigned this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants