#haroonzuberi
1 messages · Page 1 of 1 (latest)
Hi. Let me help you with this.
You can't update the amount of a Price object, you will need to create a new Price with the new amount.
Ok and then I need to update the price ID of the product?
What do you mean by "price ID of the product"? You mean Stripe Price object ID in your database?
Can you tell me the way to updat the price of the product or plan?
It depends what object do you want to update exactly: the Subscription, the Price, or the Product?
But before that, what do you want to achieve exactly?
Without Stripe terminology.
Here is the scenario, I created a product with price $10 yesterday, But now I want to update the price to $20 for the same product.
For a running Subscription or only for new Subscriptions?
For the new subscription
You have to create a new Price object with amount: "200" ($20) and use it when creating a new Subscription.
OK let me try that.