#Mahesh K
1 messages · Page 1 of 1 (latest)
@left sedge let's chat here!
can i have git repo for connect account for custome
I see you had a similar question earlier. Is this what you're looking for? https://github.com/stripe/stripe-connect-custom-rocketdeliveries
If not, please share some more details so I can help
yes i have clone the above git repo
i am getting this error when i run the server
app.set('webhookSecret', createdWebhookEndpoint.secret);
^
TypeError: Cannot read properties of undefined (reading 'secret')
are you there roadrunner?
Yep, I'm here. Looking through the repo
yep, found it in app.js
app.set('webhookSecret', createdWebhookEndpoint.secret);
^
TypeError: Cannot read properties of undefined (reading 'secret')
i am getting this error
so that registerWebhooks function is trying to create a webhook endpoint in your account then set the secret based on the object returned when the webhook endpoint is created: https://stripe.com/docs/api/webhook_endpoints/object#webhook_endpoint_object-secret
can you share your Stripe account ID?
this should look like acct_...
acct_1MqdZTKWH4OWn9Cz
out of curiosity, did you already complete the configuration steps outlined here? https://github.com/stripe/stripe-connect-custom-rocketdeliveries#getting-started
yes
got it, okay. just to make sure you can run the server, can you change registerWebhooks to false in your config.js file then retry running the server?