#lory1234_api

1 messages ยท Page 1 of 1 (latest)

quaint copperBOT
#

๐Ÿ‘‹ 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.

pure violet
#

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?

wide oracle
#

Hi

#

I want to provide paypal

#

Google Pay and apple pay as well

pure violet
#

Hi! Cool. What's your question exactly?

wide oracle
#

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)

pure violet
#

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.

wide oracle
#

We are selling age sensitive products and we need to verify the users that are buying the products are over a certain age

pure violet
#

Need to by law?

wide oracle
#

Yes, we are selling medical products

pure violet
#

You're allowed to let people of any age see the things you have for sale though?

wide oracle
#

No they can see them, but we should not allow to buy them

pure violet
#

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.

wide oracle
#

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

pure violet
wide oracle
#

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?

pure violet
#

No, there is not.

wide oracle
#

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 :)!

pure violet
#

Before is likely what you'll want to do here. And you're welcome. ๐Ÿ™‚

wide oracle
#

yes true