#billinghamj-ad-hoc-prices

1 messages · Page 1 of 1 (latest)

crystal iron
#

Hello 👋
Give me a moment to catch up here and I'll respond as soon as I can 🙂 Thanks

queen coral
#

Thank you

#

The ad-hoc + API docs do seem to suggest, from stating "they’re marked as active=false" and providing the option to query with the active param, that listing with active=false should show them

There's no mention that they're a special case, or that there's some other difference in the object type etc

misty dock
#

👋 stepping in here as hanzo had to step away.

queen coral
#

ty

misty dock
#

Can you provide a request ID for your retrieval?

queen coral
#

Sure - req_elwBg2D1VSu5Mo

#

That was:

curl -G https://api.stripe.com/v1/prices \
  -u sk_test_xxx: \
  -d active=false -v```
#
{
  "object": "list",
  "data": [

  ],
  "has_more": false,
  "url": "/v1/prices"
}
misty dock
#

Thanks, looking

#

So I'm just seeing one price on the account and it is active

queen coral
#

Check out req_ZMYtBmCzINuMRu - a search

#

Example non-active price ID price_1LG21jDAfGskkGiU6OdtMiHk

#

I'm assuming internally ad-hoc prices are stored a bit differently maybe? If so, that seems to be leaking into the API behaviour

misty dock
#

Oh okay yeah that price is inactive

#

Huh okay I just tested on mine and the query is returning fine

queen coral
#

Is that with an ad-hoc price though?

#

one made with price_data when creating a sub

misty dock
#

Good question. Let me test again with creating a new one that way

misty dock
#

Sorry, server is really busy.

queen coral
#

np np 🙂

misty dock
#

Okay so yeah as far as I can tell Search doesn't handle this scenario

#

So feels like a bug to me and I'll need to file a ticket

queen coral
#

Thank you, that'd be helpful 🙂

#

The underlying reason I've flagged this is because Fivetran isn't syncing the prices, so I was going to coach them through how the API should be used

#

So I will prob leave that ticket on hold until it's resolved on the Stripe side

misty dock
#

Go ahead and write into our Support team (https://support.stripe.com/contact/login) and mention bismarck in your ticket and let me know when you have sent the ticket. Then I can grab the ticket and keep you updated for when this is fixed.

#

Let me know when you have submitted the ticket so I can go grab it

queen coral
#

Thanks, will do

queen coral
#

Sent that 🙂

#

em_yfjvsl3dc8cbdcolednj2nj2xi4mpr

misty dock
#

Great I see it. I'll get back to you over email