#apeindex
1 messages ยท Page 1 of 1 (latest)
Just to make sure we're on the same page, is this the document you're following to publish your app? https://stripe.com/docs/stripe-apps/publish-app
I am doing step 1 in the document you linked manually, because the command does not exist
I have stripe installed via homebrew but the set command does not exist within apps
My manifest will have "distribution_type": "public" in it but when I run stripe apps upload it deletes it from within my manifest (yikes!) and the resulting upload is private
% stripe version
stripe version 1.18.0
I see, thanks for the details. Give me a few minutes
Sorry for the delay! Still digging into this
Hi ๐
Can you share your Apps ID in your manifest (stripe-app.json)?
com.digits.connect.stripe
and
com.digits.connect.import
they both could be deleted TBH
and we could start again
Unfortunately it doesn't look like that's an easy fix currently: https://stripe.com/docs/stripe-apps/versions-and-releases#remove-or-change
Sorry? Do you mean about deleting or making an app public?
The app removal:
To remove an app or an app release from Stripe, contact Stripe Support.
kk; that's not really the intent of this request
I was more offering it as an option if needed
Got it
The issue to solve is: I cannot set my app distribution from "private" to "public"
I have tried both paths:
"distribution_type": "public" directly in the manifest gets removed by stripe apps upload
stripe apps set distribution public
outputs
Unknown command "set" for "stripe apps".
See "stripe apps --help" for a list of available commands.
What do you see when you run stripe apps set --help?
Unknown command "set" for "stripe apps".
See "stripe apps --help" for a list of available commands
INTERESTING
Indeed, not exciting for me either ๐
This is what I see
stripe apps set --help
Update App Manifest
Usage:
stripe apps set [command]
Examples:
stripe apps set distribution <public | private>
stripe apps set api_access_type <restricted_api_key | oauth | platform>
stripe apps set name "My App"
stripe apps set icon "https://example.com/icon.png"
Available Commands:
api-access-type Update Stripe API Access type
distribution Update App Distribution type
icon Update App icon
name Update App name
could you do stripe apps version?
wait
stripe version
well
this is interesting
Both could be a factor
% stripe apps version
apps version 1.5.10
[bhatfield digits]% stripe version
stripe version 1.18.0
stripe apps version is the version of the plugin. stripe version is the version of the stripe CLI
% brew info stripe
==> stripe/stripe-cli/stripe: stable 1.18.0
Stripe CLI utility
https://stripe.com
/opt/homebrew/Cellar/stripe/1.18.0 (6 files, 22MB) *
Built from source on 2023-10-18 at 10:25:20
From: https://github.com/stripe/homebrew-stripe-cli/blob/HEAD/stripe.rb
==> Requirements
Required: macOS โ
==> Caveats
โค Thanks for installing the Stripe CLI! If this is your first time using the CLI, be sure to run `stripe login` first.
zsh completions and functions have been installed to:
/opt/homebrew/share/zsh/site-functions
version: 1.5.12 git-sha: f34bd28 build-time: 2023-09-07 18:23:18 +0000 UTC
Try running stripe plugin upgrade apps
[bhatfield digits]% stripe plugin upgrade apps
โ upgrade to v1.5.13 complete.
[bhatfield digits]% stripe apps set distribution public
โ Updated App Manifest. "distribution type" set to "public"
I see "distribution_type": "public" in the manifest now
it has been getting removed by stripe apps upload but perhaps the version fixes this
trying now
I'm setting this up to be installed in live mode
That did work โ๏ธ , I can see the app in Draft mode now
๐ I'm glad we got it working
Indeed, thank you for your help
BTW, I know I will have to submit this for review, but it is a backend-only app
Do you forsee any problems with backend-only apps being approved?
I can't speak to the review process. But it being back-end only should not be a problem in itself. There are some requirements listed here: https://stripe.com/docs/stripe-apps/review-requirements that would still apply I think
Makes sense. I'll work through them all.
But that is a different process that I'm not familiar with