#naril_webhooks

1 messages · Page 1 of 1 (latest)

halcyon pantherBOT
#

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

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

steep lava
#

Can you share an example checkout session id where this happened

wicked dragon
#

i am not sure i understood, are you asking for the id of the session i have created via CLI?

steep lava
#

yes

#

the one that didn't trigger a webhook

wicked dragon
#

sure, actually none of my trials. this is the idea of the last one: cs_test_a12ywdRQkghaWkYTzr4aak9l8DwoT3FfNQvlbZLbixVREK3QuoCYYcrQtB

steep lava
#

That's pretty weird. Looking

#

Oh wait

#

checkout.session.created is not a valid event

#

What's your goal?

wicked dragon
#

thats great!

#

i actually want to get the event before the customer of the marchant is charged so i can change things in the payment intent object

steep lava
#

Oh that's not possible with checkout unfortunately

wicked dragon
#

😩

#

so what event can i listen to?

steep lava
#

Payment intent is created after the fact

#

So you can't do this

#

What are you trying to change specifically?

wicked dragon
#

StatementDescriptorSuffix

wicked dragon
#

ok, and if i want to do it on my users behalf?

steep lava
#

I don't know what you mean by that

wicked dragon
#

my app will be installed by merchants

#

and i want to manage stuff like StatementDescriptorSuffix⁩ for them

steep lava
#

I can't speak to the compliance aspect of that

#

But you can pass it via the api

wicked dragon
#

but i do need some event right?

#

there is a compliance issue with that?

steep lava
steep lava
wicked dragon
#

because i need to do it for them in every checkout

#

so i need something to trigger me

#

(i'm avoiding from being a Proxy)

#

my assumption is that i can get a notification (webhook), than i can do my thing for my users

#

is that possible?

steep lava
#

Why do you need a notification

#

You can set it in every checkout session in the creation request

#

Or are you saying you're not the one creating the checkout sessions?

wicked dragon
#

how? i am not a part checkout process, i am a Stripe App

steep lava
#

Ah ok

#

Yeah this isn't possible

wicked dragon
#

Ah! sure?? 100%?

steep lava
#

You can't intercept the payment intent from a checkout session and change the statement descriptor before the payment is processed

wicked dragon
#

ok... and there is no chance I can change it?

steep lava
#

Due to how checkout works it's impossible

#

Payment intent isn't created until the end of the flow

#

You don't have time to update it

wicked dragon
#

ok, thanks!

#

your patient is very appriciated

#

🫶

#

i'm sorry but last time, maybe i missed something

#

i can't update the "StatementDescriptorSuffix⁩" field if i am not creating the checkout session?

steep lava
#

Correct

wicked dragon
#

ok, thanks