Very confused.
At 24:36 in the video linked above (I copied the link to go there) this guy shows 3 APIs he created in “API Connector”, but he didn’t explain at all where he got the information and how he created it. The Get Subscription API I cant see the “Key id” or the “Key content-type” field and have no idea where he got that info. Same for the portal session API.
^^This is how mine looks so far from the data I have been able to find.
Also, is the “Bearer” part necessary in “key value”? Do I need my own link in the “Get” tab under Get subscription?
The guy was doing a great job explaining until here I literally have no idea what this is
Not sure if this is helpful, but just in case here is an example of a POST for customer. Notice body type JSON and Queryst. checked. Credit for this insight goes to @dorilama who was a great help, and hopefully I am getting a chance to pay it forward.
John
The Subscription ID is the ID of the particular subscription you’re trying to retrieve in the API call.
You don’t need the content-type parameter, so I’d get rid of that.
Yes, you need to include Bearer in the Authentication key.
The URL https://api.stripe.com/v1/subscriptions/[id] is the correct one if you’re trying to retrieve a Subscription… you just need to replace [id] with a valid Subscription ID when you make the call.
You can look in your Stripe account to see your subscriptions.
Then just pick any one to use to initialize the API call (as long as it’s from the correct version of your Stripe account - i.e. Your Test account if you’re working in dev mode or your app, which presumably you are).
I was able to initialize the call! Thanks!
I encountered another issue when following that video. I was wondering if you knew the answer. Bubble x Stripe: build no-code payments - YouTube
After making a workflow for the “Get Subscription” API, there is supposed to be a tab that pops up that shows path(id), and underneath “only when”.
However on my screen, just the “only when” part pops up. Will add a screenshot here.
This is where I am. Not sure what I did wrong but my customer ID and Price ID are not showing up.
Webhook on my stripe account is showing successful. The only thing I can think of than I did differently than the guy in the vid was not including the “content-type” key in the Get Subscription API. Any ideas/any way I can have you take a look at my project?