#WCByrne
1 messages ยท Page 1 of 1 (latest)
Hi ๐ can you share the IDs of the requests from your testing so I can take a closer look at them?
Here's a failing one: req_Ma40gjY2SRJorS
And a successful on from the web console: req_wO788JOiATnyfo. The price data is slightly different but the IDs are provided about the same.
Thank you!
Taking a look at our API spec for creating a Price:
https://stripe.com/docs/api/prices/create
it looks like id is not a supported field there. So I'm thinking the ability to create a Price with a custom ID may be restriceted to only being possible via the dashboard.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I was afraid of that. We haven't created new prices in a few years but our integration is built around these custom IDs which apparently we were able to create from our python code previously. I guess we'll either need to migrate to lookup IDs or create them in the dashboard for now.
I was looking to see if maybe this was possible in an older API version, that was then dropped. But I haven't been able to find that yet.
For what it's worth, our original implementation was from 2015 when we created actual "plan" objects.
So a lot has changed since then
I was just looking at those Plan objects, they seem like they may still support custom IDs.
Oh good catch. Maybe I'll give that a try
I had assumed that creating the product/price would be the same as creating a plan but apparently not with this detail. That worked perfectly.
Thank you!
Any time, glad to hear that worked!