#apeindex

1 messages ยท Page 1 of 1 (latest)

humble oarBOT
cedar lark
severe bramble
#

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
cedar lark
#

I see, thanks for the details. Give me a few minutes

cedar lark
#

Sorry for the delay! Still digging into this

red cedar
#

Hi ๐Ÿ‘‹

Can you share your Apps ID in your manifest (stripe-app.json)?

severe bramble
#

com.digits.connect.stripe

#

and

#

com.digits.connect.import

#

they both could be deleted TBH

#

and we could start again

red cedar
severe bramble
#

Sorry? Do you mean about deleting or making an app public?

red cedar
#

The app removal:

To remove an app or an app release from Stripe, contact Stripe Support.

humble oarBOT
severe bramble
#

kk; that's not really the intent of this request

#

I was more offering it as an option if needed

red cedar
#

Got it

severe bramble
#

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.

red cedar
#

What do you see when you run stripe apps set --help?

severe bramble
#
Unknown command "set" for "stripe apps".
See "stripe apps --help" for a list of available commands
red cedar
#

INTERESTING

severe bramble
#

Indeed, not exciting for me either ๐Ÿ˜‚

red cedar
#

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
severe bramble
#

could you do stripe apps version?

#

wait

#

stripe version

#

well

#

this is interesting

red cedar
#

Both could be a factor

severe bramble
#
% stripe apps version
apps version 1.5.10
[bhatfield digits]% stripe version
stripe version 1.18.0
red cedar
#

stripe apps version is the version of the plugin. stripe version is the version of the stripe CLI

severe bramble
#
% 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
red cedar
#

version: 1.5.12 git-sha: f34bd28 build-time: 2023-09-07 18:23:18 +0000 UTC

#

Try running stripe plugin upgrade apps

severe bramble
#
[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"
red cedar
#

Okay and now stripe apps set --help

#

Beautiful!

severe bramble
#

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

red cedar
#

Are you installing in Test or Live mode?

severe bramble
#

I'm setting this up to be installed in live mode

#

That did work โ˜‘๏ธ , I can see the app in Draft mode now

red cedar
#

๐ŸŽ‰ I'm glad we got it working

severe bramble
#

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?

red cedar
severe bramble
#

Makes sense. I'll work through them all.

red cedar
#

But that is a different process that I'm not familiar with

severe bramble
#

No worries

#

Thank you for your help!