#bogdan_webhooks-connect-statement-descriptors
1 messages ยท Page 1 of 1 (latest)
๐ 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.
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.
How do I make this fire for all checkout.session.completed ? Independend of is a connected account or not?
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
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?
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
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
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
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.
Sorry I'm not sure what these sentences mean. What is happening that you do not expect?
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.
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
This is an Express Account so they have limited ability to modify their account.
Yes. But I need to provide a way for them to change that part.
You can use the Stripe Embedded Components: https://docs.stripe.com/connect/get-started-connect-embedded-components
Specifically I think you'd want to test out the Account Management component: https://docs.stripe.com/connect/supported-embedded-components/account-management
Or you can try updating these details via the APIL https://docs.stripe.com/api/accounts/update
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
Can you share the Payment Intent ID?
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
This comes from connected account settings or is set by backend wen creating the payment link?
You didn't provide any data to specify the statement descriptor so we used the business details. We document how we determine Statement Descriptors here: https://docs.stripe.com/connect/statement-descriptors
If you want to change it, you can set statement descriptor prefix on the Account and specify the suffix when you create the Checkout Session: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-statement_descriptor_suffix
But I can also change it only once in https://docs.stripe.com/api/accounts/update
Is this field?
business_profile.name
?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you. Ill try to add a simple tool to change the name. See if that works. Thak you for the wonderfull support.
We're happy to help ๐ It's why we're here.