#bldhbot

1 messages · Page 1 of 1 (latest)

dusk boneBOT
umbral blaze
#

Hi! Let me help you with this.

lunar iron
#

Hi

umbral blaze
#

To clarify, you want to have 2 prices for the subscription, a monthly and an annual?

lunar iron
#

Yes

#

And in both situations the contract-agreement is 1 yeaar (12 months)

umbral blaze
#

For that you will need to create 2 Price objects on your Product, one with monthly billing cycle, and another one with yearly, and then provide the correct Price ID in the Subscription items. As per cancellation, your app logic will decided when and how to allow customers to cancel. Subscriptions renew by default, unless you cancel them immediately, or update the cancel_at_period_end or cancel_at parameters: https://stripe.com/docs/api/subscriptions/update#update_subscription-cancel_at_period_end

lunar iron
#

Hmm, and when i set the recurring interval al 1 year?

#

By the way, i'm using Stripe's pricing tables

umbral blaze
lunar iron
umbral blaze
lunar iron
#

I've already implemented it, but at the moment all my subscribers witch choose for a monthly billing cycle, they are able to cancel subscriptions anytime!

#

And that should not be possible.

umbral blaze
#

How are they able to cancel the Subscription?

lunar iron
#

Two issues:

  1. When i enable the option that a customer is able to change his plan within customer portal, than are our all customers with monthly billing cycle able to cancel subscription.
  2. Within our app the end-date of the subscription agreement is shown not right, because i don't know to show witch attribute
umbral blaze
#
  1. You can disable cancelling of the Subscription in the Customer portal.
lunar iron
#

Yes i know, but the real issue is the second 😉

dusk boneBOT
umbral blaze
#
  1. What parameter are you using now?
lunar iron
#

No parameter

#

Because i'm confused of all the parameter, i don't know witch one.

#

And i also see that our 'current_period_end' is filled in.. Is that right?

umbral blaze
#

Yes, but for the monthly Price that will just be the start of the next monthly cycle, not the 12 month period.

lunar iron
#

oke clear

#

That makes sense, but how can i setup the 12 month period?

umbral blaze
#

You can't do something like this if you want to charge the customer every month, unfortunately. You will have to keep track of it in your app.

lunar iron
#

But what is the sense of this parameters??

copper cape
#

Hey, taking over here. Can you summarise the issue for me?

lunar iron
#

I offer a subscription. The subscription has a fixed term of 12 months. My customer can pay monthly. The subscription needs to be automatically renewed annually.

What are the parameters I need to fill in to set this up?

copper cape
#

There's no default way to configure a 'fixed term'. What you're describing is an item that renews monthly, the minimum terms would be somethign you need to enforce/police

lunar iron
#

I want my customers to be able to clearly see inside our app:

  • Subscription start date
  • Subscription renewal date (12 months after the start date)
  • Billing cycle (monthly/yearly)

It would be convenient if I could retrieve the renewal date via an API call, so I don't have to build it myself.

#

The issue lies with the renewal date. If I understand your response correctly, I would need to build this myself, and Stripe does not provide a solution for it, correct?

copper cape
#

Well, if you want them to pay in monthly instalments then the renewal date will always be +1 month. If you want to show a yearly renewal date you'd need to calculate that yourself

#

As I explained, you can't do what you're describing natively