#votsircp-portal

1 messages · Page 1 of 1 (latest)

sterile marlin
#

Hi! This looks like node.js code? If so that looks accurate.

#

How are you initializing stripe?

arctic stump
#

hi again!

indeed, it's node.

const stripe = require("stripe")(config.stripe.secret_key);

sterile marlin
#

And which version of stripe-node are you using?

arctic stump
#

"stripe": "^7.6.0"

#

v7.15.0

sterile marlin
#

version 7.6 was released in 2019, so it's quite old.

#

So I think you need to update your version of stripe node for the billing portal to work.

arctic stump
#

got it, thanks so much, will do that