#dan_stipeapps-installevent-testmode

1 messages ยท Page 1 of 1 (latest)

dull cedarBOT
south badgerBOT
#

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.

dull cedarBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1255273592476925982

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

ruby sentinel
#

Hi there

vagrant oak
#

hello ๐Ÿ™‚

ruby sentinel
#

I think what's happening here is you're triggering an event on your platform account but the endpoint is listening for events that occur on connected accounts

#

Does that make sense?

vagrant oak
#

it does, I think

#

actually, sorry, I'm a bit confused -- because there's only one account in play here, because the app is being installed in test mode to the same account that the endpoint is registered

#

account acct_1IfGs2KHtUMqOYFU is the account the app is developed under and where the webhook has been created (making it the platform account?) and installed into (making it the connected account?)

ruby sentinel
#

I see

vagrant oak
#

but having read the docs, I'm definitely not clear on how this is meant to work, so apologies if I've got the wrong end of the stick!

ruby sentinel
vagrant oak
#

the app is running in development on the local server and the stripe-app.json file configuration has "distribution_type": "public",

#

it is installed in test mode on account acct_1IfGs2KHtUMqOYFU

#

(I tried to use sandboxes to install it on different test accounts, but sandboxes don't support app installation at the moment)

#

the intention is that the app will eventually be listed on the marketplace, but I guess it could be considered private for now given it's in development?

heady delta
#

Hi ๐Ÿ‘‹

I'm stepping in here since I've installed an App in test mode.

  1. You need to have a Connect webhook endpoint
  2. To get the event to generate, you need to install the app on a separate account

https://docs.stripe.com/stripe-apps/test-app

#

In order to get the account.application.authorized event to fire, the account you install the App on needs to be a separate account with no relation to the Account developing the app

#

But they can both belong to you and only be in Test mode

vagrant oak
#

ah, ok, good to know! Can I sign up for a new Stripe account in test mode only, or do I go through the regular signup flow for a new account?

heady delta
#

You can create a new account directly from your dashboard! In the upper left corner there is a section with your account name. If you click on it you should see a drop down menu that includes a button to Create new account

vagrant oak
#

ok, that's great, thank you

#

once the app is installed on a test account, will that cause the connect webhook to start receiving all the events listed in the manifest?

heady delta
#

As long as your app has the correct permissions

vagrant oak
#

ok, that's great! thanks for your help!

heady delta
#

Sure thing! Happy to shed what ๐Ÿ’ก I can ๐Ÿ™‚

vagrant oak
#

if you ever need any feedback on the app development process/docs I'd be happy to give more... I've definitely got lost more than a couple of times!

#

appreciate all the help, hopefully this will unblock me!

heady delta
#

I hope it gets you moving forward. It took me a while to finally get everything wired up and in place. One tip is you can install/uninstall the app as much as you want from the other account. This will trigger the authorized and deauthorized events each time

vagrant oak
#

ah cool, that's a good tip!