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

Populate Customer Details into Stripe #70

Open
elliotmitchum opened this issue Sep 19, 2024 · 3 comments
Open

Populate Customer Details into Stripe #70

elliotmitchum opened this issue Sep 19, 2024 · 3 comments
Labels

Comments

@elliotmitchum
Copy link
Collaborator

elliotmitchum commented Sep 19, 2024

When a Stripe checkout session is made, we want to populate customer_email when invoking stripe.checkout.Session.create when the order form is submitted. However, we don't ask for the email on the FE, so that will also need to be updated.

@Sam-WebP
Copy link
Collaborator

I am not exactly sure what this issue means?

Does it mean have the "Full Name" and "Business" fields populated into the Stripe checkout? If this is the case then we would need to add those fields to the checkout since they aren't already there. What would the point of this be?

Or does it mean store the "Full Name" and "Business" info within the transaction meta data? This would allow us to see those details from within the Stripe portal, but I don't know what the point of this would be since the Wattle admin page is supposed to be the single source of truth and therefore this change would go against that in assuming that staff will be managing orders through the stripe portal?

@Sam-WebP
Copy link
Collaborator

Hey @devraj, can you please confirm what you meant in our last meeting when you said:

"it would be nice, whatever you're entering here as details, for example, your name, any of that. If that can be passed on to stripe".

@elliotmitchum
Copy link
Collaborator Author

image

Just need to implement the customer_email when stripe.checkout.Session.create is invoked

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

No branches or pull requests

2 participants