#pelagic.dev
1 messages ยท Page 1 of 1 (latest)
Hi ๐
You cannot edit Prices and you cannont delete them. You can mark them as non-active but that is about it.
https://stripe.com/docs/api/prices/update#update_price-active
I know that is the expected behavior, I'm just hoping that there's something we can do here. Is there anyway way a dev on the Stripe side can just delete those for us? Archiving won't help because I need to re-use the same Price ID's
again, this is only in Test mode
You can wipe all data from your Test account but, no you cannot delete individual prices
๐ Understanding that, is there anything you or a Stripe Dev can do for us?
Not me. You would need to reach out to Support for account related issues. https://support.stripe.com/contact
We just give advice on coding API integrations here
Okay, yeah, I've got an open ticket with Support, but our Account Rep also suggested asking the devs in here.
That's strange, since all we can do is tell you that the API does not allow for changing the ID or amount of a Price. You can update all the parameters we show here: https://stripe.com/docs/api/prices/update
Looking at the the docs you just linked, maybe I can make an update to the price - but I'm confused on what the request body should look like...
The code snippet on the right should provide you the information you need
it doesn't show how to update the currency_options though
If I'm reading it right, maybe it's like this...
Stripe::Price.update(
price_id,
{
currency_options: {
usd: {
tiers: [
{ upto: 3 }
]
}
}
}
)
You should be able to test that. The type of each parameter is listed next to it's name