#grendelxc
1 messages · Page 1 of 1 (latest)
I'm testing it out by creating new connected accounts, I see the accounts being created, however, I'm not receiving the hook
I've tested with the CLI, and manually triggered account.updated and I do receive that hook
So, given I'm getting the manual hook from the CLI and I can see the connected accounts getting created - my assumption is either a) the hook isn't being triggered by Stripe b) I'm listening to the wrong event
Hi, have you set up your webhook endpoint correctly, https://stripe.com/docs/webhooks ? Can you share a request is where an account was created but you did not see an event trigger? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
I've tested with the CLI, and manually triggered account.updated and I do receive that hook
I'm building a large application, this is just one small tiny bit of it but I'm now 4 days into it - please please please can I get a dev to look at my concern?
I've got an email thread of like 20 messages back and forth with support
Can you share the above request id so I can further investigate this? I have nothing to look at the moment to further assist.
are you a developer?
Yes, from the limited information you provided. 1/ It could be that your web hook endpoint is not setup correctly. 2/ You're not listening to the event. To further investigate this, I'd need way more detailed information.
I've tested with the CLI, and manually triggered account.updated and I do receive that hook
this is why I'd like to talk to a dev
Yeah, that is different. You're sending this manually via the CLI.
I'm testing it out by creating new connected accounts, I see the accounts being created
this is 4 days
4 days
I've taken screenshots, shown videos,
talked to reps
shared account ids
shown how the accounts are being created
it's a simple hook
Can you do the same with me so I can help you? Can you share the request id here? Or the webhook endpoint object?
I just need one concrete example to start digging
so I can provide accurate information and unblock you
just to confirm, a request id from a connected account that gets created from my application?
this is a request id from a few days ago: req_UhkcCeOk2J7sLR
Taking a look
This is a connected account I created just now: acct_1MXD7vS5L2m2Lj8X
...just to be clear, I'm sure there's a very high chance I configured something wrong
that said, it doesn't make sense that my server can get CLI events and not real ones
I don't even see the events being sent from the Stripe console
This is a test account I created just now
This is the response I get from creating the account:
{"id":"acct_1MXD7vS5L2m2Lj8X","object":"account","business_profile":{"mcc":null,"name":null,"product_description":null,"support_address":null,"support_email":null,"support_phone":null,"support_url":null,"url":null},"business_type":"individual","capabilities":{},"charges_enabled":false,"company":{"address":{"city":null,"country":"US","line1":null,"line2":null,"postal_code":null,"state":null},"directors_provided":true,"executives_provided":true,"name":null,"owners_provided":true,"tax_id_provided":false,"verification":{"document":{"back":null,"details":null,"details_code":null,"front":null}}},"country":"US","created":1675384060,"default_currency":"usd","details_submitted":false,"email":"t117@g.com","external_accounts":{"object":"list","data":[],"has_more":false,"total_count":0,"url":"/v1/accounts/acct_1MXD7vS5L2m2Lj8X
It looks like you're listening to the event but you can see the failed events here: https://dashboard.stripe.com/test/webhooks/we_0MVmB5CJCeGg7xK1i2BKgjQ2. From the error, it looks like you're not passing the correct webhook secret key.
/external_accounts"},"future_requirements":{"alternatives":[],"current_deadline":null,"currently_due":[],"disabled_reason":null,"errors":[],"eventually_due":[],"past_due":[],"pending_verification":[]},"login_links":{"object":"list","data":[],"has_more":false,"total_count":0,"url":"/v1/accounts/acct_1MXD7vS5L2m2Lj8X/login_links"},"metadata":{},"payouts_enabled":false,"requirements":{"alternatives":[],"current_deadline":null,"currently_due":["external_account","tos_acceptance.date","tos_acceptance.ip"],"disabled_reason":"requirements.past_due","errors":[],"eventually_due":["external_account","tos_acceptance.date","tos_acceptance.ip"],"past_due":["external_account","tos_acceptance.date","tos_acceptance.ip"],"pending_verification":[]},"settings":{"bacs_debit_payments":{},"branding":{"icon":null,"logo":null,"primary_color":null,"secondary_color":null},"card_issuing":{"tos_acceptance":{"date":null,"ip":null}},"card_payments":{"decline_on":{"avs_failure":false,"cvc_failure":false},"statement_descriptor_prefix":null,"statement_descriptor_prefix_kana":null,"statement_descriptor_prefix_kanji":null},"dashboard":{"display_name":null,"timezone":"Etc/UTC"},"payments":{"statement_descriptor":null,"statement_descriptor_kana":null,"statement_descriptor_kanji":null},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":2,"interval":"daily"},"statement_descriptor":null},"sepa_debit_payments":{}},"tos_acceptance":{"date":null,"ip":null,"user_agent":null},"type":"express"}
I wish those were errors from my server
all of those were triggered using the CLI
these were the last 2 tests I did from the CLI
so, just to reiterate - the events are not getting to my system. ** I wish there were errors, bc that would at least mean the events are getting to my system**
I really need to talk to a dev
this is 4 days of people not understanding what I'm saying and then getting the runaround
So this event for example, evt_1MVoKM2n0Id41T53taOmFS8j returned 500 and that your server returned the following response:
"message": "No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? https://github.com/stripe/stripe-node#webhook-signing"
},
I just created more connected accounts and these are still the most recent events that show
come on
seriously
those are from the CLI!
please a dev
I know what a 500 is
I know what authentication is
A dev would know that it doesn't matter that 500 is happening when a test runs from the CLI, if when you use the application, there is no request at all
I need to get to the bottom of this - I'm building an application and this is a small part of that application
This event was NOT triggered via the CLI, evt_1MVr8f2nBzTpzlkzqx7mK8dK
checking...
and you can see the response your server sent:
"message": "No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? https://github.com/stripe/stripe-node#webhook-signing"
},
Same as above
where are you seeing this?
and what is the timestamp from that request?
and what is the test user's email address?
That is all from your account. You can find an event that failed: https://dashboard.stripe.com/test/webhooks/we_0MVmB5CJCeGg7xK1i2BKgjQ2 and find any that was not triggered by the CLI.
come on - a dev please
please
it's 4 days of getting this runaround
I'm seeing the events
in that log
those are getting to my system
a 500 is a good thing!
I'm not even getting that
can you give me the test email account from that event you mentioned?
or at least give me the timestamp
which one of these?
I think this is the guide you're looking for: https://stripe.com/docs/webhooks#webhook-endpoint-three. Can you share your code on how you're handling requests from Stripe?
lol
just please, tell me which of those you are referring to
just need the time - I'll open up the event, dig into my logs and see why there seems to be a misunderstanding between what you are seeing and what I'm seeing
Let me grab that information
thanks
I don't see a way to look up events by event id on my end otherwise, I wouldn't ask you for the timestamp
For this account, acct_1MVr8c2nBzTpzlkz
Hi @near basin I'm taking over this thread
Hi Jack
What makes you guys think this was not created by the CLI?
bc, I'm pretty sure it was
Jack, I'm not usually this much of a grump - I'm just at a loss right now, after 4 days
Hello. It's a long thread. Do you have the event ID so that I can take a look?
the problem is I don't see the events
I see the accounts being created but no events
Jack, I really don't wanna be an ass, but are you a developer?
I feel like 99% of the problem is that I keep talking to people who are not devs and are not able to understand my concern
here's one account: acct_1MW5SDS0n3SlfDZw
actually, no that was created by the CLI as well
ok, this one acct_1MXD7vS5L2m2Lj8X
that was created by my application ^ but I'm not getting the hook
Yes I'm an engineer. Let me take a look at your account at acct_1MXD7vS5L2m2Lj8X
It's a long thread, do you mind to summarize your key ask?
I want to be notified when a connected account gets created - I was told account.updated is the event that gets triggered when an account is created
I took a quick look at this account, and I don't see any logs or events
yes!!! Thank you!!!
4 days for someone to say that
I'm sure its something stupid on my end but for 4 days I've been getting asked "there's an auth error on your server, have you read how to set up a webhook?"
OK, are you the platform that created this express account?
I mean did you write code to create this express account, or was it created through a 3rd-party plugin?
I'm not sure what you mean by express account? Is that the same as a connected account?
I wrote the code that calls stripe.accounts.create()
type: 'express',
business_type: 'individual',
country: 'US',
email
});```
is that the wrong call?
This code looks good to me. And I saw you have registered a connect webhook in platform to listen to the account.updated event. Your integration looks OK.
I'm stumped as to why I'm not seeing any events hit my platform when I create an account from my application
Did you create a account link to start the onboarding flow for this newly connected account?
not yet - this just creates the account, later in the user flow we generate the account link and send the user to onboard on the hosted stripe site
there's a chance that a user can receive funds between the time they create their account and the time they go through onboarding
OK. I see where the confusion is now.
The account.updated event will be fired when there's a property change to the account, not when the account is created (https://stripe.com/docs/api/events/types#event_types-account.updated).
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok, I'm only listening for that event bc that is the one I was told I should listen for
which is the right event?
So if you create an account link (https://stripe.com/docs/connect/express-accounts#create-link) and complete the onboarding, you'll receive the account.updated event.
there's a chance that a user can receive funds between the time they create their account and the time they go through onboarding -> Not possible. The connected account needs to go through the onboarding process before transfer or payout.
so they can't receive funds into that account until they onboard? e.g. The funds won't be there waiting for them?
No, they can't. And if the information they provide during the onboarding doesn't pass the verificaiotn process, their account status might be restricted and they won't be able to receive transfer either.
gotcha - that said, is there a way to be notified when a connected account is created?
https://stripe.com/docs/connect/account-capabilities. You can also check the account's requirements to know what are the information that account need to submit.
Unfortunately there's no account.created event. But since you are the one created the account, you'd know when an account is created.
yeah, I get that - it's a distributed system and I didn't intend to have the part that connects to stripe also handle saving user information - of course, all of that based on the belief that this event account.updated would tell me when an account is created
No, there's no webhook event for account creation.
It really sucks that it took 4 long, shitty days to learn this :/
thanks for helping though, glad it won't be more than 4 days
4 days of emails, chats, and phone calls, where I'm told this event should work and "you set up your backend wrong"
all the while I'm just like "please let me talk to a dev"