Which info is visible to the customer when creating a subscription? - android-pay

When creating a subscription the customer can see the "name" of the subscription.
Is there a way to display additional information for each subscription in the subscription panel of the customers wallet?
Right now if the subscribe to multiple services they can not distinguish the subscription by name only.

Related

Stripe Customer Portal - show specific subscription

I have one Stripe Customer, that attached to many companies into my project. Every company has its own subscription. So one Customer has many Subscriptions.
But during manage subscriptions on Customer Portal page I want to see just one subscription related to company (for now I see all Subscriptions related to the Customer).
Is there way (param) to show just one subscription related to specific Company (maybe by its ID) on Customer Portal page?
It's not possible right now to restrict the subscriptions managed in a Customer Portal session. You pass the customer parameter on creation and all subscriptions associated to that Customer object are manageable.

How to merge old subscription with new subscription in stripe?

Earlier, We have separate subscription for every products. And we came to know that we can create single subscription with multiple product by creating subscription with subscription items. Now we need to combine old subscription with new subscription's item. Is there any way to achieve this?
You can always update existing subscriptions with new items. You don't have to worry about old items on that subscription since this API will create new items and add them to that subscription.
On the other hand, if you pass the id of an existing item, you will be able to update its price as described in this Stripe guide.
With this in mind, I would recommend you updating one of the subscriptions to add new items with Prices from the other subscription. Note that there are many options in Stripe for how or if to prorate and charge for the changes to the two subscriptions, so be sure to experiment in test mode to find what matches your needs.

Is it possible/allowed to register a company as a customer in Stripe?

So in my use case, I have a service that I provide to some companies. Those companies each have several employees who are responsible for purchasing subscriptions to my service via Stripe. Instead of creating accounts for each of the employees, I'd like to have a single account per company/organization, so any employee with enough permissions could purchase a subscription. And all of the subscriptions will be linked to company accounts, not to personal ones.
I would appreciate it if someone tells me if this flow possible?

How to disable "renew" option for canceled plans on Billing Portal?

I am using Stripe and Billing Portal.
If the user has canceled subscriptions in the past, then Billing Portal displays a list of canceled subscriptions and offers the option to renew for each canceled subscription:
The problem is that this allows users to subscribe to the same or different membership multiple times. For example, if I want my website to offer three types of membership:
Pro
Premium
Gold
and users can only be subscribed to one type of membership at a time - Billing Portal with that "renew" option allows user to subscribe to the two or more memberships (subscription plans) at a time: Lets say that user first subscribes to "Premium", then he cancels it... Then subscribes again to "Premium"... On Billing Portal he will be able to "renew" (subscribe) to "Premium" again...
Is it possible to disable (remove) that "renew" button (option)? I was looking into settings but couldn't find anything: https://dashboard.stripe.com/test/settings/billing/portal
Also I couldn't find anything in the documentation, FAQ section, etc.
That's because those subscriptions are set to cancel at period end, rather than immediately. They are not actually cancelled yet and can be reactivated. How are you cancelling these subscriptions?
If cancelling yourself via the API, make sure you aren't using cancel_at_period_end (API ref) and instead cancel immediately.
If you're letting customers cancel via portal, make sure to set the cancellation mode=immediately (API ref).
Similar options should be available if cancelled via the dashboard.
Once in this state (say if it were what you wanted), you can limit the portal session to only apply to a specific product/price. So you'd need to determine which of your gold/pro products was the active/new plan and create a portal configuration that only allowed updates for subscriptions for that product/price.

Stripe API subscriptions flow?

Using Node.js
I got a question with the flow of the API.
My web app allows users to use the site for free but gives them a choice to "subscribe" to other users and view their premium content which charges them monthly.
Looking at the stripe API, to add a subscription to a user, I would need customer object. Would the proper flow of this be:
User signs up and in the backend, create a stripe customer for said user and save the id into my user object database.
When user subscribes to another user, grab their customer id from the database and create the subscription.
Also side question, does this allow for multiple subscriptions of the same product? Because a user can subscribe to multiple users
Thanks!
Your understanding of Customers sounds correct; you collect a user's credit card details, create a Customer object, then using that id, sign the Customer up for a Subscription.
With a Stripe Subscription you can use quantity or have multiple subscription items attached to a single Subscription. So if the user already has an active subscription, you could grab this and increase the quantity or add a second plan.
e.g. you could bill a user for Plan A and Plan B on a single Subscription, or 2 x Plan A, etc
see:
https://stripe.com/docs/api/subscription_items/create#create_subscription_item-quantity
https://stripe.com/docs/api/subscription_items/create

Resources