#Typedef - customer subscriptions front end

1 messages · Page 1 of 1 (latest)

idle jasper
#

Hello, can you clarify what you mean a bit hear? Do you mean in our dashboard or in a custom page you are coding?

#

I believe the subscription retrieve API call needs your secret key so the frontend would have to ask your server to make that call.

civic island
#

ahh so I still have to use a backend

#

okiee tyyy

#

ithought you can retrieve it directly

idle jasper
#

Double checking on that...

civic island
#

suree

idle jasper
#

Just tested and am getting the error This API call cannot be made with a publishable API key.

#

And I don't see a method for it in our javascript SDK docs unfortunately

civic island
#

sounds good thanks

idle jasper
#

Of course, happy to help

civic island
#

stripe.subscriptions.list

#

is this the right method for this stripe.subscriptions.list

idle jasper
#

Yes it is