#slogga6_unexpected

1 messages ยท Page 1 of 1 (latest)

true isleBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1372703055828488218

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

fickle gyro
#

Just to be sure, am I right to understand that you'd like to upload the public version in test mode when same app in private version has been uploaded to Sandbox previously?

onyx sparrow
#

Hi there, yes that's correct. I still run into the same issues even after setting that flag in the manifest:

  1. Attempting to upload to the sandbox throws the 9:Sandboxes do not support public app uploads. Please switch to a non-sandbox account to upload a public app and try again. error
  2. Attempting to upload to test mode throws: 3:App id already taken: com.tritechlabs.bazaarbear
fickle gyro
#

Could you share you Sandbox account ID (acct_123), so that I can take a look?

onyx sparrow
#

I think this is it: acct_1RLY8ZPAq4k6tqzc

#

Thanks for your help, btw ๐Ÿ™

fickle gyro
#

Thank you for waiting. Could you share the config in your stripe-app.json?

onyx sparrow
#
{
  "id": "com.tritechlabs.bazaarbear",
  "version": "0.0.5",
  "name": "BazaarBear",
  "icon": "./icon.png",
  "permissions": [
    {
      "permission": "product_read",
      "purpose": "Read product information to generate ecommerce widgets"
    },
    {
      "permission": "product_write",
      "purpose": "Write product information to store metadata from BazaarBear"
    },
    {
      "permission": "secret_write",
      "purpose": "Store authentication tokens between sessions"
    }
  ],
  "ui_extension": {
    "views": [
      {
        "viewport": "stripe.dashboard.drawer.default",
        "component": "Products"
      }
    ],
    "content_security_policy": {
      "connect-src": [
        "https://www.bazaarbear.co/api/",
        "https://quickcommerce-dev.us.auth0.com/oauth/token"
      ],
      "image-src": [
        "https://www.bazaarbear.co/images/"
      ],
      "purpose": "Integrate with the BazaarBear API Service"
    }
  },
  "constants": {
    "API_BASE": "https://www.bazaarbear.co/api"
  },
  "stripe_api_access_type": "platform",
  "distribution_type": "public",
  "sandbox_install_compatible": true
}

fickle gyro
#

Thanks for sharing! Upon checking, deleting the existing app ID is not supported regardless which environment you're in. Can I suggest you writing to Support https://support.stripe.com/contact, so that they can check with relevant team whether there is any workaround to this if you would like to keep the same app ID.

onyx sparrow
#

I see. Is another solution to just change the app ID between dev/test and prod?

fickle gyro
#

That's another workaround, but this is less than ideal. You should be able to keep the same ID for the prod account, but won't be possible to use the same app ID between test mode and Sandbox accounts