#akii-Subscription
1 messages · Page 1 of 1 (latest)
Hi, let me look at the request
You are sending parameters as
{
proration_behavior: "none",
items: {
0: {
price: "price_1KsKMAGLOO5b7AOMcU0Zv1sU"
}
}
}
but this will append a new items to your Subscription, not replacing the existing one
To change price you should follow this guide: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing, in which it will find the current items 0's Id and specify a new price to it
items: [
{
id: subscription.items.data[0].id,
price: 'price_new_id'
}
]
Okay thanks will do this and let u know, please meanwhile dont close the thread..
Sure