#jeline_api

1 messages ¡ Page 1 of 1 (latest)

slim nexusBOT
#

👋 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/1361437574404509776

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

winter wind
#

Hello there

fresh vault
#

Hi @winter wind

winter wind
#

Thanks, yeah I'm not sure shipping change has been added yet for this flow. Let me double check

#

Hmm when you create your Checkout Session here do you have shipping_options[0][shipping_rate] defined?

#

If you are going to want dynamic calculation then you sod need to use the standard Express Checkout Element so you can listen for the actual address and then perform the calculation.

fresh vault
#

Yes i have it, but when user change address in Google Pay shipping price could be changed + also i am build express flow so Taxes also should be calculated based on billing address

#

So user will not fill Shipping/Billing form i want take all information from wallet

#

Do you know how i properly can combine checkout session flow and Express Checkout Element ?

#

Ideally I would like to make a PaymentIntent and then some kind of confirm.session, but i am not sure if that possible

winter wind
#

Can you explain more what you mean by that?

#

If you use the normal Express Checkout Element then you would use a PaymentIntent, yes.

fresh vault
#

So when Payment Intent is created and payment is done, i want to go back and finish checkout session

slim nexusBOT
winter wind
#

That's not really how it would work. A Checkout Session is only completed if the customer pays via that Session. Here you would have two different flows if you are going to use Express Checkout Elemenet as a standalone Element.