#teeluxiii
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- teeluxiii, 1 day ago, 7 messages
Okay let's focus on one problem at a time. Let's start here:
When creating a subscription and applying a percentage off coupon, it doesn't seem to have an effect on the initial invoice when a prorated invoice is charged.
How are you getting a prorated invoice on a new Subscription?
I have a billing anchor set to the first of the following month, so when it starts, the initial invoice is not for the full month
Okay, got it. So the issue is that the coupon isn't applying to that first Invoice?
Correct, I attach the coupon on creation, X percentage off and it just shows as $0 on the invoice
Can you send over a Subscription ID?
sorry let me rephrase that, the invoice being generated doesn't show discounts calculated, its incorporated in the price somehow but not exposed when i look at the initial invoices discount amounts
evt_1OfVrTKjI0M1O6BO6u7tR7XQ
in_1OfVrQKjI0M1O6BOT9hN0PaE
Hmmm, I think the issue is that coupons don't apply to prorated invoices, but I need to check with a teammate to confirm
Hi, taking over and catching up here
I'm trying to reproduce this on my end, it might take a bit. Thank you for your patience.
Ah, looking at the request to create the Subscription, https://dashboard.stripe.com/test/logs/req_191d8dW0E3uT5V it looks like you passed in a future billing cycle anchor. It assumed that the amount is already paid so you won't see the coupon, and the first invoice is prorated until the next billing cycle begins. If you look at the next invoice, you should see the coupon being applied in the line item.
Correct, it is a future billing cycle anchor which prorates the initial invoice. How does it assume its paid? Attaching the coupon decreases the total amount, it still shows the discount on the invoice, but the discount is incorporated in the line items and not totaled on the invoice level
Sorry, I was mixing two separate things. Yes, I can reproduce this behavior on my end and do not see the the coupon in the line items. Instead, the total amount is discounted. On the same page there. Let me further debug this
After testing this if you pass in proration_behavior to 'none', we show the coupon in the line items. With prorations, it does not and it automatically discounts the amount.
so is that a bug? why does that not provide discounts even when they are being applied?
Yes, I confirm with our internal resources that this is expected. Although, I will share the feedback with the team for future product reiterations on how this is causing confusion.
Hmm okay i would definitely appreciate that
Relying on the discounts on the invoice isn't very reliable if invoices are prorated, which happens when we change the subscription products as well
My second question was if we can set a billing anchor on a post dated schedule start date. Eg Jan 5, we create a schedule to start on Jan 15th with the billing cycle anchor Feb 1
it always issues a full invoice (Jan 15 to Feb 15) and then my second phase which kicks in on Feb 1 bills from Feb 1 to Mar 1, discounting the already paid Feb 1 - Feb 15
I'm sorry, I do not follow what you expect to happen here vs. what is happening. Can you add more details? Can you share a subscirption id?
sub_1OfVc5KjI0M1O6BOnltVqrAe
This invoice in_1OfVc5KjI0M1O6BOjieUL3Lg is for the full month, but im looking to configure it with a billing anchor on may 1
I see, I do not think that is possible, https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases-billing_cycle_anchor. I think you'd want to create the Subscription. Then, on the 1st, you can update the Subscription: https://stripe.com/docs/api/subscriptions/update as a workaround.
I need to close the server for the weekend and step away. If you have any further questions, please write in to us, https://support.stripe.com/contact