#vinicius-zaramella_api

1 messages ยท Page 1 of 1 (latest)

empty spindleBOT
#

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

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

lone pawn
#

hi there!

buoyant ore
#

Hey

#

Here is a request id with the customer in the request post body req_kG9K52Z9xV8e6Y

lone pawn
empty spindleBOT
buoyant ore
#

Yes

#

The payment information is retrieved corretly by the Pyament Element but the Address does not

rugged topaz
#

Hi taking over here

#

I think this is expected

#

AFAIK address element doesn't support customer sessions

#

Are you seeing differently somewhere?

buoyant ore
#

Is there a way to show to the returning customer which address we will be using for their checkout?

rugged topaz
#

You'd have to handle that manually

#

Then retrieve its details/address and display them somewhere

buoyant ore
#

I also found this info in here

rugged topaz
#

Yeah if using link it's done automatically

#

There's not a simple way for you to autofill it with the saved payment method via customer session

buoyant ore
#

It is not working with link authentication either

#

I am creating a SetupIntent in the backend and passing the clientSecret in the stripe.elements options

#

The Link autenticates correctly, autofill the payment element but not the address element

#

Even in a fresh session without the customer session the problem still occurs.

#

the payload I am receiving in the Payment Element on('change') event looks like this

{
    "elementType": "payment",
    "collapsed": false,
    "empty": false,
    "complete": true,
    "value": {
        "type": "link"
    }
}
rugged topaz
buoyant ore
#

Just replicated that line by line and still get the same behavior

empty spindleBOT
rapid trench
#

Hi there ๐Ÿ‘‹ jumping in as my teamamte needs to step away soon. I'm working on running a test, but I think this autofill behavior may not work in testmode. Let me step through my flow and get back to you.

#

Alright, just stepped through my test flow and it did autofill the shipping address for me on the second pass through (the first pass was used to collect the address). So it doesn't look like this is a limitation like I suspected. Can you tell me what steps you took and what you saw along the way?