#bogdan_webhooks-connect-statement-descriptors

1 messages ยท Page 1 of 1 (latest)

gleaming summitBOT
#

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

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

wind goblet
#

Hi ๐Ÿ‘‹

The payment_intent.succeeded event was fired but no webhook was listening for it. Looking at your account, the only Live mode webhook endpoint you have is listening for events on Connected Accounts.

The webhook endpoint for events on your account is only listening for events in Test mode.

red sigil
#

How do I make this fire for all checkout.session.completed ? Independend of is a connected account or not?

wind goblet
#

You need to configure separate webhook endpointss to listen for those events on your account and Connected Accounts. They can all use the same URL but the webhook endpoint in Stripe is specific to each circumstance

red sigil
#

I'm comming back to this project for a while. It used to work in the past. Now is abbout to get activity again.

in java side I have " implementation 'com.stripe:stripe-java:28.3.1'"

What versin do I select from here?

wind goblet
#

You should understand what API version your project is pinned to. In that case you likely want to use the same API version since your Java code won't be able to deserialize the objects for a different API version

red sigil
#

I'm using the library from sripe: com.stripe:stripe-java:28.3.1

My question is what to select throm there. The numbers do not match

wind goblet
#

You are misunderstanding me

#

THe numbers won't match because the number you are referencing is the version number for the Java SDK. This not the same as the API version

#

Looking in the SDK Changelog, it looks like v28.3.1 is pinned to 2024-12-18.acacia

#

Unfortunately, that isn't either the default OR the latest version

#

So I think you will need to update your Java SDK version

#

Wait a second, I was wrong. The changelog format was just incorrect

#

You should use the curren version

#

Your SDK is pinned to 2025-01-27.acacia

#

So those are the shape of objects it is expecting

red sigil
#

How come is still working on dev environment side?

I also noticed the diverence in "from" That one is configured "Your account " that is why it works.

Ill add a similar one also in produciton.

wind goblet
#

Sorry I'm not sure what these sentences mean. What is happening that you do not expect?

red sigil
#

I noticed the discrepency between the test environment and the production environment.
You helped me out allot. I'm reconfiguring the webooks to use my account since is like this that this is working. Once I fix this I have another question related to connected accounts. But I need to fix the webhook first.

wind goblet
#

Gotcha okay, glad I could help! ๐Ÿ™‚

#

And we'll be here when you have more questions

red sigil
#

If fixed. It works now. I appreciate the support allot ๐Ÿค—

Now for the secoond question.

How do I change the name for the connected account? I navigated to the management panel using the link from my application but I can not change the name from there. but the edit button only allows me to change the url and industry

https://connect.stripe.com/app/express#acct_1Qvdo6GatZDslTup/settings

wind goblet
#

This is an Express Account so they have limited ability to modify their account.

red sigil
#

Yes. But I need to provide a way for them to change that part.

wind goblet
red sigil
#

Any chance that you have also a link via java sdk?

#

Forget that. I just noticed the swich.

#

This is how revolut reported this charge. So what field is the one that has pure fuel.eu?
I need to change that name

wind goblet
#

Can you share the Payment Intent ID?

red sigil
#

yes. one sec

#

evt_1RleR2GrVKcH7vW27av6lpe8

wind goblet
#

That's a event ID for the checkout.session.completed event but I can get started there.

#

I notice the business name for the Connected Account is Business name: pure-fuel

#

Okay the Charge object has calculated_statement_descriptor: "PURE-FUEL.EU", so we are passing that data

red sigil
#

This comes from connected account settings or is set by backend wen creating the payment link?

wind goblet
red sigil
wind goblet
#

You can change that field, yes.

#

If the business name is incorrect

red sigil
#

Thank you. Ill try to add a simple tool to change the name. See if that works. Thak you for the wonderfull support.

wind goblet
#

We're happy to help ๐Ÿ™‚ It's why we're here.