#iamajoe_api

1 messages ¡ Page 1 of 1 (latest)

next fjordBOT
#

👋 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/1361328123513405581

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

summer tree
#

hello

flat eagle
#

hey!

#

i basically want on the configuration to force the user to wait for period end. I am not being able and it is changing

eternal granite
#

Can you try that and create a new session please?

#

Then, expalin exactly what you expect to happen vs. what you're seeing

summer tree
#

Why am I here?

flat eagle
#

i set it. this is my subscription_update on the configuration:

      enabled: true,
      proration_behavior: 'none',
      default_allowed_updates: ['price'],
      schedule_at_period_end: {
        // NOTE: schedule to period end when shortening the time
        conditions: [
          {
            type: 'shortening_interval',
          },
        ],
      },
summer tree
#

@eternal granite I don't know why I'm here in the first place, but I have a question.

flat eagle
#

and as you can see it is starting next month. not waiting for 2026, the period end of the current plan

eternal granite
#

What yearly price was this on?

flat eagle
#

if we multiply the monthly by 12 it will be more expensive than the yearly. let me grab the value...

#

business yearly is $1188 per year

#

business monthly is $119 per month

#

the customer for the portal is currently on business yearly

#

customer id: cus_S81rBhWlU9p63e

#

next invoice on Apr 14, 2026

#

so i was expecting on this screenshot, on this billing portal url, to have the data for Apr 14, 2026

eternal granite
#

Still investigating this on my end

flat eagle
#

ok ok thanks

#

for me, if possible to force the period end would be great because on code i already have control if a downgrade or an upgrade

eternal granite
#

Are you able to try?

#

I recommend that you start with creating a new billing configuration instead of updating teh existing one

flat eagle
#

reading...

#

so you are saying that my products should have one price for monthly and other for yearly?

#

i rather have separate products also that case works within the same product yearly vs monthly but what if i am passing between products, wont the problem still be there?

eternal granite
#

Let me test an instance with different products and confirm

#

Yeah, that seems to be the limitation. I'll share your feedback to allow the update conditions work with multiple products.

flat eagle
#

ok thank you for the help

eternal granite
#

Sure

flat eagle
#

i dont want to change the whole system now to have multiple prices per product

#

it was mentioned to me before that they should be separated and as such i built the whole system around that be it with prices or product references on the my end