#gruneth_code

1 messages ยท Page 1 of 1 (latest)

unkempt totemBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

hot houndBOT
rustic stag
#

Hi there ๐Ÿ‘‹ is there a bit more context? Are you accepting PayPal through the Payment Element + Address Element, or are you using something different for those like the Express Checkout Element?

flat urchin
#

This setup intent I used with PayPal and there is no address: "seti_1QS3VNA86yrbtIQrTxqMmo44"

#

No I'm using payment elements + address elements.

#

Somehow when using the test credit card I can fetch the address but when I use test PayPal and still provide informations from the address element and later in my webhook try to read the address its empty.

#

Can provide you with two examples of setup intent ids if you like

#

May found my mistake one secound.

rustic stag
#

๐Ÿ‘ I'm going to keep digging into the intent you shared while you check that

flat urchin
#

Found my mistake

#

const paymentElement = this.elements.create("address", {
mode: "billing",
blockPoBox: true,
fields: {
phone: 'always',
},
validation: {
phone: {
required: 'always',
},
},
});

#

I did:

mode: "shipping",

rustic stag
#

Ah, gotcha. Good spot!

flat urchin
#

Somehow when using credit card it is used as shipping and billig at the same time. When using paypal I need billing.

#

All fine

#

Thanks a lot for your time. Sorry for wasting it.

rustic stag
#

Don't worry you didn't, we're here to help!

flat urchin
#

May I ask a follow up question:
const paymentElement = this.elements.create("address", {
mode: "billing",
blockPoBox: true,
fields: {
phone: 'always',
},
validation: {
phone: {
required: 'always',
},
},
});

I can collect the phone number from the customer. Is there any way that stripe confirms the existance of the phone number? For example by sending a text with an one time code and when the customer inputs the one time code it is given that he has access to that phone number? I'm a bit scared that a customer may inputs a fake or wrong phone number.

rustic stag
#

No, we don't do that.

flat urchin
#

Alright. Would you recommend collecting a phone number? Not sure if its a waste of time if they may input a wrong number or a fake one.

rustic stag
#

Depends on your flow. If you need a phone number for your business purposes then collecting one sounds like the right approach.

flat urchin
#

Alright. Thank you very much for your time again.

#

Have a wonderful evening.

rustic stag
#

Thank you, hope you do the same!