#brayden-subscription-schedule

1 messages ยท Page 1 of 1 (latest)

civic vapor
#

๐Ÿ‘‹ Happy to help

#

What kind of strange behaviour are you facing? Can you share the sample subscription schedule ID?

blissful coral
#

Okay, so this is going to be relatively hard to explain but I'll do my best to give you an idea of why we do what we do.

#

Here's an example subscription

#

Let me give a brief description of our use case for Stripe so you can understand a bit better why we do what we do.

#

Our implementation is for an insurance platform, which allows a customer to sign up for an annual or semi-annual subscription for insurance on jewelry. The customer is able to add/update value/remove items from their policy at any point during their current policy period.

#

We also automatically renew our customer's policies annually. We do this via subscription schedules, however, there are certain circumstances that will cause inflation to be applied to items that are current insured so we are not able to just create a recurring subscription that bills at the same price year after year. Every year, the subscription price increases from the previous year.

#

Are you tracking on that?

civic vapor
#

Yup, I'm following this situation you described

blissful coral
#

So in the example subscription that I posted, see how the future invoice (our renewal phase on the schedule with a completely different price attached) has a section where we're charging for the remaining amount of time left on subscription when the schedule was created? Then it's being fully refunded.. Then the new phases amount is being charged.

#

This is super confusing.. Why wouldn't the invoice simply be for the amount that will be charged in the next phase of the schedule?

#

This is a test subscription that basically followed these steps:

  1. Annual insurance policy created with an annual premium of $214.00
  2. A new piece of jewelry was added to the policy, bringing the new annual premium up to $535.00
  3. A renewal was scheduled to start on July 5th, 2023 with inflation applied to the items on the policy bringing the premium up to $544.00
  4. The Policy was cancelled

The last invoice which corresponds to the cancellation shows the customer owing $749.00 somehow? https://dashboard.stripe.com/test/invoices/in_1LIOmIALivADE4JrsnVYnLw8

Instead of being refunded $534.97.

#

These interactions used to work really well for us.. we've been providing policies to customers for almost 2 years now. It seems in the last couple of months, that something has changed on the Stripe side, and I'm just trying to understand how we need to adapt our code to be able to handle these situations as we've had virtually 0 code changes to this platform in the last 6-8 months.

civic vapor
#

The discord is busy at the moment. Catching up now

blissful coral
#

All good, appreciate your time.

civic vapor
#

Can you share the one sample subscription that was working as what you expected?

blissful coral
#

Yeah, let me go back and try to find one, one second.

#

Here's a subscription that has no weird charge + refund situation going on

#

I can easily walk a policy through the steps that a customer might take if you want to take a look together in each step of the process..

#

I realize how difficult this is to help triage.. but we don't really have a whole lot of other options lol

civic vapor
#

I'm investigating with my coworker about how the last invoice ended up with $749.00

#

I'm afraid that I can't find out why $749 was calculated. Can I suggest writing in to Support https://support.stripe.com/contact/email and quote "river-discord", so that I can check with relevant team and follow up with you?

blissful coral
#

Yeah, you just want me to send an email here and put the keyword "river-discord" in it?

civic vapor
#

Yes, please. Please also include the summary of the issue and sample subscription ID sub_1LIOJUALivADE4JrVECyv6X6 as well.

#

I'll find the email and follow up from there

#

Let me know after you send the email ๐Ÿ™‚

blissful coral
#

Hey, I just sent the email

civic vapor
#

I found it! Thank you!

blissful coral
#

Awesome, I appreciate your time tonight. Look forward to getting this figured out.