#sagar051192

1 messages · Page 1 of 1 (latest)

ashen currentBOT
errant musk
#

Hello there

tall valley
#

hi

errant musk
#

Hmmm

#

Can you run other functions using the Node SDK?

#

What version of the Node SDK are you using?

tall valley
#

node version v16.13.2

errant musk
#

Sorry specifically the Stripe Node SDK

tall valley
#

how to find stripe node version?

errant musk
#

Should be in your package.json or if you have a request ID for any of your requests then I can take a look

#

Also can you try running const deleted = await stripe.subscriptions.del()

#

Instead of .cancel()

tall valley
errant musk
#

Gotcha yeah you seem to be on an older version of the SDK before the .cancel() method was added

#

So you can either update to a newer version or just use .del()

tall valley
#

thanks

#

update the stripe version will not create any issue with old stripe function which used on code right?

errant musk
#

It is possible that some things you rely on could be deprecated in newer versions so you should always test first before upgrading on your production account

tall valley
#

Is it okay to use old version which i am using now ?

errant musk
#

Yep that's fine, you just won't have access to the newer features in the newer versions

#

But if you don't need those then you can use the older version

tall valley
#

Great. Thanks Alot

errant musk
#

Sure

tall valley
#

Do you guys have any help doc to integration of subscription with ios and android mobile apps?

#

For web i am using "stripe.checkout.sessions.create" but i thing this will not work for mobile apps