#paulocoronado
1 messages ยท Page 1 of 1 (latest)
Try initializing Stripe it like we do in our snippet at https://stripe.com/docs/api/subscriptions/cancel?lang=node
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Nope, same error!
What version of stripe-node are you using
I don't think it is an initialization issue, because in my code, I have used the stripe constant to call other functions and it works fine...
I am using "stripe": "^8.219.0"
Ah yeah latest is 13.2.0
Our api spec follows the latest library version. Recommend trying with the latest and seeing if it works
Likely the syntax was slightly different on that older version
Okay, let me stry! ๐
Yeap, that's it! I didn't know I was using such an old version hahah
Thanks so much, Duchess! You nailed it!
No problem!
Just recommend you thoroughly test your code now in case the newest version affected code that you have on that older version
Okk! Thanks for the advice!