#soumya_webhooks

1 messages ยท Page 1 of 1 (latest)

night martenBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

raw cedar
#

Helloo

rich cloak
#

๐Ÿ‘‹ Are you using connect ?

#

So that you receive all events that happens on your connected account

raw cedar
#

What this connect?

#

Can you telll me how to register webhooks once?

rich cloak
#

Can you explain your use case first

raw cedar
#

So it should automatically trigger for who install the app

rich cloak
#

I want know how to subscribe webhooks once so it should work for any merchant who installs the app
Can you share more details about this please ?

raw cedar
#

Actually we are building the public loyalty app

rich cloak
#

What Stripe Product are you using ?

#

Stripe Apps ?

#

can you share the guide you are following

raw cedar
#

We are building stripe apps

rich cloak
#

to better understand your integration

raw cedar
#

I'm follow how to build stripe apps for dashboard guide

#

As part of it we have took the patner account

#

Under it has the live sandbox and test mode

#

We have already created one public app using stripe apps create

rich cloak
#

Did you build a Stripe webhook endpoint or not yet ?

raw cedar
#

If I register the webhook in dashboard it will to that account this result I got from stripe chat

rich cloak
#

Not sure I understand your last message, can you clarify more ?

raw cedar
#

We have lamda tied too api gateway

#

So I have configured webhooks to that url

rich cloak
#

nice, now you need to register that webhook endpoint as connected endpoint

raw cedar
#

Why connect?

rich cloak
#

Stripe Apps is using Connect behind

raw cedar
#

When they connect to the our platform they need to set the webhooks

#

But for the api I have used type account is it correct way?

rich cloak
#

When they connect to the our platform they need to set the webhooks
You (the platform) want to receive your merchant's events, or your merchant want to get their event

raw cedar
#

We want to listen to events who installs our app from the market place

#

Hello

rich cloak
#

Then you simply register your webhook endpoint in your platform Striep dashboard

raw cedar
#

Connect or your account?

night martenBOT
rich cloak
#

Connect

raw cedar
#

If I do programmatically then for each install it may create new end point??

rich cloak
#

No, you need create the endpoint only one time

#

This is a one time setup

#

and not for each installation you create a new endpoint

raw cedar
#

So in dashboard I need to set up once?

#

Right?

rich cloak
#

yes

raw cedar
#

Also can you guide me we want to use oauth authentication method when installing the app

#

How to test itt?

rich cloak
raw cedar
#

Cleint id client secret?

rich cloak
#

From your oauth provider

raw cedar
#

Means?

#

Stripe won't give me?

rich cloak
#

You said you implemented Oauth 2 right ?

raw cedar
#

From the docs what I know is we need too implement one end point which will exchange code with access token

#

We have implemented that end point

#

But don't know how to actually test the flow

rich cloak
#

That's for token exchange

#

but that's not oauth 2

raw cedar
#

Can you clearly guide me what I need to set up on my end?

rich cloak
raw cedar
#

When merchant clicks install this link will be clicked?

iron acorn
#

hey there ๐Ÿ‘‹ taking over as my colleague needs to step away - yes, that's correct

raw cedar
#

Okay

#

Can you tell me what we need to handle on our end for oauth while installing

iron acorn
raw cedar
#

Yes

#

While installing the stripe app only

iron acorn
#

you just need to create a button on your page that redirects to the OAuth link you get from your Stripe dashboard: https://docs.stripe.com/stripe-apps/api-authentication/oauth#create-install-link

then, once your app is published and the customer is redirected to your URL after completing the OAuth connection, your callback URL will contain an authorisation code that you need to pass to Stripe, exchanging it for an access token: https://docs.stripe.com/stripe-apps/api-authentication/oauth#obtain-access-token

you then use the access token to make requests to the Stripe API - example here: https://docs.stripe.com/stripe-apps/api-authentication/oauth#obtain-access-token:~:text=making a request to the Stripe API