#tacologist.

1 messages · Page 1 of 1 (latest)

short muskBOT
neon pewter
#

Which of libraries are you using? Is this node?

swift slate
#

Yes, node

neon pewter
#

How are you setting up/initializing this.stripeService.client?

swift slate
#

new Stripe(...) and I know that works because the retrieve function of customers works properly

neon pewter
#

Can you show me how you're calling retrieve?

swift slate
#

this.stripeService.client.customers.retrieve( invoice.customer as string, ),

neon pewter
#

Right before calling your update function can you log this.stripeService.client.VERSION

swift slate
#

I get an error: Property 'VERSION' does not exist on type 'Stripe'.

#

I am going to try something else, I'll come back if I can't figure it out. Thanks!

neon pewter
#

My guess is that you're not on version 12.18.0 or that this.stripeService.client hasn't been initialized correctly by the time you're calling your update function

#

Let me know if you need any more help after trying out more things!