#anant2712
1 messages · Page 1 of 1 (latest)
Are you asking if you can create a new subscription for the same customer?
Kind off
As I have created the product so I don't want to recreate it again and again
This is my structure
Product created
|_____ A recurring plan created
|________ Customer attached to this plan (and getting charged on a daily basis, don't worry its in testing phase)a
Now My admin want to change the plan price (lets say previously it $1 per day and now he want to take $2 per day)
But the current plan price cannot be change
So I want to create a new price plan under same product (which I will do easly)
The issue is How can I switch my customers from oler price plan to newer price plan?
You can just update the subscription with the new price https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
No its not helpful as I cannot deal in quantities
my admin can charge $2.5 too, its upto him
??
??
I'm not suggesting you to change quantities. You are chaning price, isn't it? https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing
the first line under this heading is:
Subscriptions can be changed by switching the price that a customer is charged or by changing the quantity.
*Quantity
Please read carefully before suggesting
I understand what I send, and this is suggestion based on what I know from your ask.
And it's entirely up to you whether to take my advice or not.
Sorry, I don't want to be mean there.
My problem is admin can charge in decimals as well, so I cannot handle it by quantity
like today he is charging $1 per day but he wants to change now $2.5 per day. I cannot manage this 0.5 via quantity
Do stripe consider 1/2 quantity? I am sure its not
I see
Thanks for the clarificaiton, one sec
Can you explain more about your new pricing model and why you can't create a price with unit price of $2.5?
I can create a plan a with $2.5 price for the same product
But how can I shift my older plan user to this new plan?
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing I'd point you to the same doc that I share earlier. You don't need to change the quantity here, you just need to create a new price and set it to your existing subscription.
https://prnt.sc/5bPuroBT-kxF
https://prnt.sc/CAwHNPZMUuI5
https://prnt.sc/3zJTOm8I-7Zp
Please check the above screenshots to understand how I am using it
I'd suggest you to read throught the doc that I sent and try it out yourself.
Come back when you have a more specific question.
I have already read that
the thing is if I create a new plan. How the recurring payment will come to know that charge the new price?
Does this option will do it automatically? https://prnt.sc/ycKiBW_3wsDx
??
stripe.subscriptions.update(subscription.id, {
cancel_at_period_end: false,
proration_behavior: 'create_prorations',
items: [{
id: subscription.items.data[0].id,
price: 'price_CBb6IXqvTLXp3f',
}]
});
have you run the code that suggested in the integration doc?
I haven't as each customer for same subscription product will have different id and the above code will cancel the current subscription either immediately or at the end of the period and will refund portion of payment in case there and then price will be added (And I have no idea, this is new price or old price?)
Also I have shared with you the screenshot that I have created a product with a recurring price plan.
The above is also have items and I have no idea that these items actually refer to price plan or anything else?
Ok. you need to update the each subscription that your customer has subscribed to the old price, and there's no batch API to update them all in one API request.
https://stripe.com/docs/api/subscriptions/update#update_subscription-items the items in the example code refer to subscription items,
and there's no batch API to update them all in one API request. : No concern here
let me clear:
I have a product with one price plan: $1 per day, 2 customers subscribed to it, and payment happening daily basis: this is already working
Now My admin wants to charge $2.5 per day from the customers.
I cannot change the older price plan as Stripe doesn't provide this facility
So I created a new price plan under the same product with $2.5 per day: this is also done
Question: still my customers are getting charged $1 per day not this new one. How can I charge this new price plan from the old customers who are still getting charged, $1 per day?
Hey! Taking over for my colleague. Let me catch up.
and there's no batch API to update them all in one API request.
Nope.
Question: still my customers are getting charged $1 per day not this new one. How can I charge this new price plan from the old customers who are still getting charged, $1 per day?
You can use the API my colleague shared with you previously.
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
I have already mentioned that quantity based price change is not an option for me
As my admin want to chage $2.5 per day
0.5 cannot be managed via quantity
The link I shared is for both quantity and price update.