#grendelxc

1 messages · Page 1 of 1 (latest)

patent pineBOT
near basin
#

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

lime burrow
near basin
#

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

lime burrow
#

Can you share the above request id so I can further investigate this? I have nothing to look at the moment to further assist.

near basin
#

are you a developer?

lime burrow
#

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.

near basin
#

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

lime burrow
#

Yeah, that is different. You're sending this manually via the CLI.

near basin
#

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

lime burrow
#

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

near basin
#

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

lime burrow
#

Taking a look

near basin
#

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
lime burrow
near basin
#

/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

lime burrow
#

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"
},

near basin
#

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

lime burrow
#

This event was NOT triggered via the CLI, evt_1MVr8f2nBzTpzlkzqx7mK8dK

near basin
#

checking...

lime burrow
#

Same as above

near basin
#

where are you seeing this?

#

and what is the timestamp from that request?

#

and what is the test user's email address?

lime burrow
near basin
#

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?

lime burrow
near basin
#

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

lime burrow
#

Let me grab that information

near basin
#

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

lime burrow
#

For this account, acct_1MVr8c2nBzTpzlkz

rigid fractal
#

Hi @near basin I'm taking over this thread

near basin
#

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

rigid fractal
#

Hello. It's a long thread. Do you have the event ID so that I can take a look?

near basin
#

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

rigid fractal
#

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?

near basin
#

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

rigid fractal
#

I took a quick look at this account, and I don't see any logs or events

near basin
#

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?"

rigid fractal
#

OK, are you the platform that created this express account?

near basin
#

I'm the sole engineer

#

the account was set up by the biz dev guy

rigid fractal
#

I mean did you write code to create this express account, or was it created through a 3rd-party plugin?

near basin
#

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?

rigid fractal
#

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.

near basin
#

I'm stumped as to why I'm not seeing any events hit my platform when I create an account from my application

rigid fractal
#

Did you create a account link to start the onboarding flow for this newly connected account?

near basin
#

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

rigid fractal
#

OK. I see where the confusion is now.

near basin
#

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?

rigid fractal
#

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.

near basin
#

so they can't receive funds into that account until they onboard? e.g. The funds won't be there waiting for them?

rigid fractal
#

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.

near basin
#

gotcha - that said, is there a way to be notified when a connected account is created?

rigid fractal
#

Unfortunately there's no account.created event. But since you are the one created the account, you'd know when an account is created.

near basin
#

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

rigid fractal
#

No, there's no webhook event for account creation.

near basin
#

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"