#enraged-camel_api

1 messages ยท Page 1 of 1 (latest)

oak kayakBOT
#

๐Ÿ‘‹ 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/1366909279545724938

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

bitter niche
#

Hi! Can you share the Subscription ID with me please?

untold jetty
#

sub_Htx4iRnN1geEK3

bitter niche
#

Cool, thanks. Maybe I'm not sure what issue you're having - can you tell me more?

untold jetty
#

The subscription status is "unpaid"

#

I'm trying to get it to "active"

#

I added a coupon for 100% off, as a way to try to get it to do that

#

But that didn't work

#

Basically we have some features that only work when the subscription status is "active", so I'm trying to get to a stage where I can test them, without having to add a credit card to the account

untold jetty
#

Considering this is our staging environment... how would we "pay" an invoice

#

If I add a card it'll get charged $800, right?

bitter niche
#

I would truly hope your staging environment is not using livemode API keys ... ?

untold jetty
#

I mean, it is, because the goal of a staging environment for us is to be as close to prod settings as possible. Otherwise it's not much different than localhost

With other apps we can create separate workspaces for each environment we have, but Stripe as far as I know only has "test" and "live" modes

bitter niche
#

That's a violation of Stripe's ToS, and also, from the card networks' point of view, it's a big problem.

#

You can create as many Stripe accounts as you want. https://docs.stripe.com/sandboxes is also coming soon.

This guide outlines Stripe Sandboxes, an isolated test environment for safely testing Stripe functionality without affecting live data. It describes use cases such as simulating transactions without real money and managing isolated testing environments for teams. The guide also provides instructions for managing sandboxes in the Stripe Dashboard...

untold jetty
#

OK, if that's the case we can change it to use test mode keys. Sorry, had no idea about the ToS

bitter niche
#

You're not the first, and won't be the last - it happens. ๐Ÿ™‚

untold jetty
#

After we do that, I suppose we can just use a test card that starts with 4242 to get the subscription to active status

#

The more I think about it, the more I realize that doing so will just be easier across the board

bitter niche
#

You can use any of the test cards, ya.

untold jetty
#

Thanks! I think that answers my questions

#

Have a good evening!