#lory1234_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1354872671166533802
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! What "express checkout options" do you want to provide, and what does that mean to you?
presume you're dealing with the age restriction before they even see an item or can put it in their cart, right?
Hi! Cool. What's your question exactly?
So, I made the address, phone number etc, required. And I can see them in the stripe response. Is there any way to see in the Stripe response the users birthday and gender as well?
The screenshot is in the front-end side (React)
No, there's not.
You could potentially add them as custom fields, but you wouldn't be able to act on that data before the purchase completes.
Well, potentially you could, but that doesn't feel like the right place to do that at all, so I'm not 100% sure on what your goal is here.
We are selling age sensitive products and we need to verify the users that are buying the products are over a certain age
Need to by law?
Yes, we are selling medical products
You're allowed to let people of any age see the things you have for sale though?
No they can see them, but we should not allow to buy them
How are you going to verify that they are in fact the age they claim?
I think you may want to talk to your lawyer about what you need to do to comply with the laws that apply to you, and then take that info and use it to decide how (and when) to approach the age limitation.
In fact we do have a third party checker that verifies the identity
and the lawyer said we need to verify the age
At the moment we make all users fill in the data and then proceed on the next step with the payment. We were trying to expirement with express checkout options and gathering the user data from stripe response rather than users filling out the long form
I don't think that moving the input to Checkout is going to gain you anything, and it would mean you'd have to use a much more complex and convoluted checkout process: https://docs.stripe.com/payments/build-a-two-step-confirmation
The link you just shared, mostly shows how to customize the payment elemements from UI perspective and it does not really help much. Is there a way for users to opt for Stripe to obtain their birthday from PayPal, and in that way the user's birthday is displayed in the response, similar to the billing and shipping address?
No, there is not.
Okay, I will think of a workaround, such as asking the user to input their age before or after payment confirmation. Thank you for your support :)!
Before is likely what you'll want to do here. And you're welcome. ๐
yes true