#nukesforbreakfast_unexpected

1 messages Β· Page 1 of 1 (latest)

random gulchBOT
#

πŸ‘‹ 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/1336766463393927179

πŸ“ 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.

fallen forum
sly lion
#

Hi, thank you for the feedback. I will share this with the product owning team.

fallen forum
#

sorry, it won't let me create a new thread, but I have a different question

#

why is the hosted invoice portal not prompting for payment on the initial subscription invoice?

#
  • sub_sched_1QpDigB7kbjcJ8QqOSyI3ZZr
  • sub_1QpDigB7kbjcJ8QqhPBesPDN
  • in_1QpDigB7kbjcJ8QqWuoys7ca
fallen forum
# fallen forum

whereas on this one for the next invoice for the next phase of the subscription, it is asking to "pay amount due".

sly lion
#

No worries, you can continue asking here

#

What do you mean by 'invoice portal not prompting for payment on the initial subscription invoice'?

fallen forum
fallen forum
#

in the second it doesn't say "pay amount due"

sly lion
fallen forum
#

no, if you look at the invoice in the invoice history it shows as "past due"

#

in_1QpDigB7kbjcJ8QqWuoys7ca

sly lion
#

Ah, it shows on the screenshot at the bottom too

fallen forum
#

yeah, I was expecting it to have a CTA to ask them to pay the open invoice.

#

just like it does in the second phase of the subscription schedule.

sly lion
#

If you advance the clock Clock for another billing interval, what do you see?

fallen forum
#

you mean to the next year when the next phase starts?

sly lion
#

Yes!

fallen forum
#

let me check

#

I clicked "+ 1 year" but it looks like that didn't advance it far enough to create the next invoice

#

did you want me to advance it to Feb 5, 2026 to see if the invoice generates?

sly lion
#

Yeah to the next interval so we can see what the UI pulls for the second year

fallen forum
#

here you go

#

clicking "pay amount due" takes me to the hosted page for the second, $24 invoice.

#

so it seems like there is never a CTA rendered for the first, unpaid invoice of $69.

sly lion
#

Yeah, I think it's the limitation with the subscription schedules.

#

If you create a subscription without a schedule, it works

fallen forum
#

that seems like a bug to me, because wouldn't you always want to render some kind of CTA to drive them towards payment of an open invoice, regardless of the schedule?

#

and it's not listed in the limitations of the billing portal. It says customers can't make updates, but is paying for an open invoice related to a subscription considered "updating a subscription"?

#

I should also note the collection method here is send_invoice.

sly lion
#

Initially what was my intepretation hence I split that apart.

fallen forum
#

sorry, I don't understand that statement.

sly lion
fallen forum
#

oh got it. So you're saying you think this is incorrect behavior of the customer portal when subscription schedules are invovled?

#

I just re-created the subscription without a schedule and see the CTA is present for the first invoice.

sly lion
#

Yeap, that was from my test as well. From my end, it does not look like the behavior changed recently and subscription schedules is the culprit. You can add the abilit to add a payment method on the customer portal configuration so they can at least add a new payment method.

#

From my test, I can click on the invoice and pay on the hosted invoice page

fallen forum
#

yes, that works fine. I just want the CTA to be present as it isn't as obvious that they need to click the invoice in the invoice history.

sly lion
#

I added the feature to add a payment method

#

It looks like it does not support what you're looking for when using subscription schedules in Customer Portal

fallen forum
#

so are you submitting it as a feature request or bug report?

scenic zodiac
#

Hi there πŸ‘‹ jumping in as my teammate needs to step away soon. It's listed as an expected limitation that the Customer Portal doesn't support all functionality when a Subscription is controlled by a Subscription Schedule. I'll file feedback with our teams that this is something you'd be interested in seeing supported in the future.

fallen forum
#

I just want to confirm what is being requested:

scenic zodiac
#

That you want to see the Customer Portal offer full feature parity for Subscrpitions controlled by Subscription Schedules as ones that aren't.

fallen forum
#

Not quite, one second

#

testing one last thing

#

argggh

#

I'm trying to test if it works if I add the schedule after the fact, but I'm getting an error I don't understand

#

do you see req_yxEBQDvDGJigN9?

#
>>> subscription_schedule = client.subscription_schedules.update(
...     subscription_schedule.id,
...     {
...         "phases": [
...             {"items": [{"price": "price_1Qp1JNB7kbjcJ8QqwpclPUYa", "quantity": 1}], "iterations": 1, "start_date": int(phase_start.timestamp())},
...          ],
...          "default_settings": {"invoice_settings": {"days_until_due": 30}, "collection_method": "send_invoice"},
...     }
... )
stripe._error.InvalidRequestError: Request req_yxEBQDvDGJigN9: You can not modify the start date of the current phase.
#

I created a subscription schedule using from_subscription after I generated the subscription: sub_sched_1QpEb7B7kbjcJ8Qq17QH1aJK

#

I'm just trying to add a new phase that starts 1 year from the subscription start.

scenic zodiac
#

Looks like the timestamp you're providng is one year in the future from the current one

#

You have to keep the original phase in the phases array too

fallen forum
#

wait really?

scenic zodiac
#

Yup

fallen forum
#

that's not what the API docs say:

#

Note that past phases can be omitted.

#

or does that mean phases that have expired?

scenic zodiac
#

Past phases, not current phases

fallen forum
#

ah, user error then. One second.

#

ok, adding it after the fact still didn't work. Alright, let me write this up

#

What I'm specifically requesting is:

When a subscription is created without a schedule, with a send_invoice collection method, the billing portal shows a CTA of "pay amount due" to pay that first invoice.

However, if a subscription is created through a schedule with a send_invoice collection method, the billing portal does not show a CTA of "pay amount due" to pay that first invoice even if that invoice is still open and unpaid.

scenic zodiac
#

Gotcha, I'll get that filed!

fallen forum
#

Billing portal display when first invoice is unpaid for a subscription that is created with a send_invoice collection method:

#

Billing portal display when first invoice is unpaid for a subscription that is created through a subscription schedule with a send_invoice collection method:

#

hopefully those screenshots make it clear what the issue is.

fallen forum
scenic zodiac
#

Will do! Appreciate that

fallen forum
#

and just to confirm: I haven't received any emails from these tests even though I'm using my personal email for the customer. Does the customer get emailed about the open invoice when it is finalized?

scenic zodiac
random gulchBOT
scenic zodiac
#

I'm less confident about which of our email flows actually generates emails in testmode though, that's outside of what we're most familiar with.

fallen forum
#

Got it. I thought emails didn't get sent in test mode at all.

junior vault
#

πŸ‘‹ stepping in here