#cristiancalara_code

1 messages ยท Page 1 of 1 (latest)

deep domeBOT
#

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

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

heavy sluice
#

Not directly, but you can use a test clock to advance the subscription time to the next period faster

#

That'll trigger a new period and an entitlments refresh

mint swallow
#

So no way to actually do this in prod?

heavy sluice
#

What are you trying to do exactly?

mint swallow
#

We are implementing now features / entitlements. I've created everything and made the setup in prod. I now wanted to check a subset of clients to double check everything is working. But when I'm using activeEntitlements it comes up empty

deep domeBOT
hidden sinew
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

#

did you advance the test clock?

hidden sinew
mint swallow
#

ah, I mean so we already tested things. we wanted to test again in prod - as sometimes unexpected things do show up in prod

hidden sinew
#

as per the terms and conditions, Stripe doesn't allow testing in prod and your account might be flagged for doing so

mint swallow
#

what is meant by testing? basically we have in our platform started implementing the entitlements - and after we fully tested things in staging envs and test mode, we wanted to basically trigger the entitlements refresh for a real subscription to double check that everything works in prod (as we had cases where the test mode had certain settings active and then in prod they were not or webhooks added in test mode but not prod)

hidden sinew
#

yes this is called testing

mint swallow
#

okay i see - wasn't aware of that. that is rather odd - i mean it's not like we are creating "test" charges or "test" accounts, it's just verying that we made all the required and correct configuration - and that can only be done in prod. we can wait for clients to actually raise the issues so I guess we'll do that

#

but just to confirm, there's no way to somehow trigger an "update to active entitlements for all subscriptions" - to satify cases like "we've just added a new feature, and we want to show in active entitlements for already active subscriptions?"

hidden sinew
#

but just to confirm, there's no way to somehow trigger an "update to active entitlements for all subscriptions" - to satify cases like "we've just added a new feature, and we want to show in active entitlements for already active subscriptions?"
no unfortuantely there isn't

mint swallow
#

got it, thanks for the quick help