#yurtdweller_api

1 messages ¡ Page 1 of 1 (latest)

lime spokeBOT
#

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

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

silver igloo
#

@spark glacier I have the request ID there of my API request

#

@lime spoke looks like the helper is offline can you check with someone else

spark glacier
#

@silver igloo FYI, we work Discord threads in order in which they are received. There are other threads ahead of you so there will likely be a delay.

#

What do you mean by it's not working?

#

The request to update the configuration was successful.

silver igloo
#

When I list the configuration again it does not show me that those prices are included

#

I then created a customer portal link using that configuration for a trial user and I do not see both plans listed

lime spokeBOT
finite wigeon
#

Hi, taking over as my teammate needs to step away. Let me catch up.

silver igloo
#

Thanks

finite wigeon
#

Can you share a billing portal session with me where you expect to see the prices?

finite wigeon
#

I suspect it has to do with the free trial. Can you take that way and try it on a customer without a trial?

lime spokeBOT
silver igloo
#

OK so it seems to function with a customer after they add a payment method but not before

#

that's a little confusing

#

I have another question

finite wigeon
#

but I can have the team add this piece as well

silver igloo
#

Does price switching work if I don't specify the prices in the billing portal configuration?

finite wigeon
#

If there is no other price, no it won't work

silver igloo
#

Even though the prices are listed in the product

#

I guess they are different intervals

#

So in order to do price changes the billing portal must have the configuration done

silver igloo
#

is it possible to use a lookup key for the price

#

or do I have to use 'price_...'

finite wigeon
#

You need to pass the price id

silver igloo
#

is there a way to show a portal to a customer with a canceled subscription to subscribe to a new plan

finite wigeon
#

Not if they are not currently subscribed to one.

silver igloo
#

so if they canceled a previous one they cannot get back to one with the same product

#

ok so if the customer switches to yearly and then back to monthly, I am confused as to what happens here:
in_1S8PrBEXjRBPmDmBiDELqeX5

#

is this a refund to their card?

finite wigeon
#

I tested that and the customer needs to be subscribed to a subscription after they cancel it to be able to update plans

#

On that invoice, it's calculating the prorations: Unused time onTypographerafter 17 Sep 2025

#

We calculate the unused time for that subscription

#

If you do not want prorations, you can set the proration_behavior to none so it does not calcute prorations on the portal configurations

silver igloo
#

How would I create a refund in the UI for this amount

finite wigeon
#

which UI?

silver igloo
#

in the stripe dashboard

finite wigeon
#

We are here to help with your integration issue related to the API. We do not have the expertise on the dashboard behaviors. That proration calculation amount will be applied to the customer balance, and it will deduct the future amount owed on upcoming invoices.

silver igloo
#

Got it

#

From earlier: "I tested that and the customer needs to be subscribed to a subscription after they cancel it to be able to update plans"

so if a trial customer chooses a subscription, and then cancels, they will be able to see the plans afterwards?

finite wigeon
#

Yes, you can test it using your Sandbox or test mode API key