#haroonzuberi

1 messages · Page 1 of 1 (latest)

crude robinBOT
sterile inlet
#

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.

steel rover
#

Ok and then I need to update the price ID of the product?

sterile inlet
#

What do you mean by "price ID of the product"? You mean Stripe Price object ID in your database?

steel rover
#

Can you tell me the way to updat the price of the product or plan?

sterile inlet
#

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.

steel rover
#

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.

sterile inlet
#

For a running Subscription or only for new Subscriptions?

steel rover
#

For the new subscription

sterile inlet
#

You have to create a new Price object with amount: "200" ($20) and use it when creating a new Subscription.

steel rover
#

OK let me try that.