#WCByrne

1 messages ยท Page 1 of 1 (latest)

vague merlinBOT
latent kettle
#

Hi ๐Ÿ‘‹ can you share the IDs of the requests from your testing so I can take a closer look at them?

short badger
#

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.

latent kettle
#

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.

short badger
#

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.

latent kettle
#

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.

short badger
#

For what it's worth, our original implementation was from 2015 when we created actual "plan" objects.

#

So a lot has changed since then

latent kettle
#

I was just looking at those Plan objects, they seem like they may still support custom IDs.

short badger
#

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!

latent kettle
#

Any time, glad to hear that worked!