#tehalsingh_22956

1 messages · Page 1 of 1 (latest)

drowsy spokeBOT
frosty island
#

Hi there, what's the webhook endpoint ID?

slate zealot
#

sharing we_1K2UZgCDMd8oJhR4l1wccFVI

frosty island
#

This is a Connect webhook endpoint

#

Are you listening to events from your own account or events from connected accounts?

slate zealot
#

No this end point is on main platform account. That we using for handling connect account statuses

frosty island
#

OK, so it's for connected accounts. What events do you expect but not receiving?

slate zealot
#

cus_ONHO1VQM1WJ3fO , please check this customer . i have added card of this user. which webshook supposed to listen

frosty island
#

This customer was created on your account, not one of your connected accounts

#

If you are interested in events from your own account, you should use Account Webhook endpoint, not Connect webhook endpoint.

slate zealot
#

and i'm using test details of the business account

frosty island
#

There are two types of webhooks, Account webhooks and Connect webhooks

#

The webhook endpoint that you created is for Connect webhooks, which are for activity on any connected account.

#

If you don't have any connected accounts and want to listen to events happening in your own account, use Account webhook.

slate zealot
#

Okey, if the webhook is set for connectd account and customer is of connected account then why it's events are not listed in the webhook

frosty island
#

As I told you earlier, that customer was created on your account, not on one of your connected accounts.

slate zealot
#

Please check below key is belongs to which account. Own or Connected account

pk_test_51HI68pCDMd8oJhR4uRw2F5JPB2gFK3w0RJUuITfiNKa9953v0B3Bjiqz4Bo9nE0x071Ysk5l07tmqO4PZ6QUwzyn007uiHrIW8

#

This key i'm using

frosty island
#

No you should never use your connected account's API key directly

#

You should specify a stripe_account in the request.

By specifying a stripe_account, you are telling Stripe that you want to make an API call on behalf of a connected account. You can refer to this doc to learn more about making API request for connected account (https://stripe.com/docs/connect/authentication)

Learn how to add the right information to your API calls so you can make calls for your connected accounts.

slate zealot
#

Leave it i have understand what is the issue

#

thanks for your help

#

Hello same issue

frosty island
#

What's the event ID?

slate zealot
frosty island
#

For privacy reason, I'm unable to help you look up a Stripe account based on email address.

#

If you need help locating your Stripe account, reach out to support https://support.stripe.com/contact/email

slate zealot
#

okey, then here is the customer id cus_ONINbEGxp3mviq

frosty island
#

This user is still created on your account, not on a connected account.

#

I'd suggest you just create a new connected account and continue your test

slate zealot
#

what about this event evt_1NaXnECDMd8oJhR4BRRcibEw

drowsy spokeBOT
slate zealot
#

Firstly we create connect account for user. which is suppose to be connect account of blocs and you are saying it's from mine account. Although i'm using blocs connect account stripe public and secret keys

nocturne forum
#

evt_1NaXnECDMd8oJhR4BRRcibEw was created on the platform account acct_1HI68pCDMd8oJhR4

slate zealot
#

hello

#

you please check evt_1NaYxDCDMd8oJhR4Yy5ro2LK why i'm not getting the webhook for this event

frosty island
#

Again, this customer was not created on your connected account. Did you pass in the stripe header when creating this customer?

slate zealot
#

then where this customer is created

#

I'm a team member of an account. whose client secret and public keys i'm using

frosty island
#

I'm unable to assist this, pleas talk to your team admin.

slate zealot
#

see customer and webhook are under the same account

frosty island
#

I have told you many times, this is a Connect Webhook, so it only listen to events happens in the connected accounts.

#

I believe you should just use Account Webhook instead.

slate zealot
#

okey i, see

frosty island
#

When you create a webhook endpoint, you'll be asked to select wether account type or connect type, you should choose account.