#tony-mf-python

1 messages · Page 1 of 1 (latest)

still panther
#

Hi there! What is the problem specifically?

unborn swift
#

I get this data back:

  "data": [],
  "has_more": false,
  "object": "list",
  "url": "/v1/checkout/sessions"
}```

when trying to retrieve a Checkout Session for a real PaymentIntent ID
#

It works great on my test API key

still panther
#

Hmm can you provide a request ID for that retrieval?

unborn swift
#

pi_1ICrqnF5Fjyd9L0odSfDzImO

#

Oh not the PaymentIntent ID

#

req_BTxFF1LtyqhLI0

still panther
#

Thanks, give me a moment.

unborn swift
#

i'm realizing there may not have been a Checkout Session for that PaymentIntent

still panther
#

Yep

#

You don't pass a PaymentIntent parameter when retrieving a Checkout Session

unborn swift
#

I'm basically trying to go through all Checkout Sessions and glean data from those with a specific item name

still panther
#

When you list

unborn swift
#

Thank you, I'm going to dig in more. I think it must have been working on my test API key because there were fewer PaymentIntents to go through.