Zuu
Zuu
BRBuildShip + Rowy
Created by Zuu on 12/19/2023 in #❓・buildship-help
Stripe Subscription
I have seen this example in next.js https://subscription-payments.vercel.app/ where the user can select a product from a list retrieved from Stripe. Users can then subscribe. The app will store subscription and customer information in a Supabase DB. Once subscribed, the user can manage subscriptions in the stripe portal. I need something like this but have no idea where to start.
4 replies
BRBuildShip + Rowy
Created by Zuu on 12/14/2023 in #❓・buildship-help
Buildship --> VoiceFlow API
Hello all. I am using flutterflow to create a chat and want to use buildship to create all api calls to VoiceFlow. I have the VoiceFlow api documentation but am struggling to actually create the right API calls. I am not fully understanding how to pass all the right information to VoiceFlow. Can Anyone offer some help on how to construct the API call? Here is the example CURL code which is working but I need to "translate" this into a Buildship API call. "CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST"); curl_easy_setopt(hnd, CURLOPT_WRITEDATA, stdout); curl_easy_setopt(hnd, CURLOPT_URL, "https://general-runtime.voiceflow.com/state/user/userID/interact?logs=off"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "accept: application/json"); headers = curl_slist_append(headers, "content-type: application/json"); headers = curl_slist_append(headers, "Authorization: VF.DM.**"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{"action":{"type":"launch"},"config":{"tts":false,"stripSSML":true,"stopAll":true,"excludeTypes":["block","debug","flow"]}}"); CURLcode ret = curl_easy_perform(hnd);" TIA
7 replies