#Mahesh K

1 messages · Page 1 of 1 (latest)

grim oasisBOT
gray crest
#

@left sedge let's chat here!

left sedge
#

can i have git repo for connect account for custome

gray crest
left sedge
#

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?

gray crest
#

Yep, I'm here. Looking through the repo

left sedge
#

you can find that line in api.js file

#

did you find that?

gray crest
#

yep, found it in app.js

left sedge
#

app.set('webhookSecret', createdWebhookEndpoint.secret);
^

TypeError: Cannot read properties of undefined (reading 'secret')

#

i am getting this error

gray crest
#

can you share your Stripe account ID?

#

this should look like acct_...

left sedge
#

acct_1MqdZTKWH4OWn9Cz

gray crest
left sedge
#

yes

gray crest
#

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?

left sedge
#

hey

#

its running

#

thank you...