#hexer

1 messages ยท Page 1 of 1 (latest)

dark crownBOT
vale escarp
#

๐Ÿ‘‹ happy to help

robust monolith
#

yeah i just doing that

#

but each payment intent have that inital status

#

searching like this:
'query' => 'status:'requires_payment_method'',

vale escarp
#

you need to escape the '

#

'query' => 'status:\'requires_payment_method\'',

robust monolith
#

just like that

#

but still, it includes all of them

vale escarp
#

would you mind sharing the request ID?

robust monolith
#

i want only ones that have only that status, nothing else after that one

#

cannot find any dev log with "search" event

vale escarp
#

would you mind sharing your account ID?

robust monolith
#

sure
acct_1LPiMfI089SQClcr

vale escarp
#

are you searching in live or in test mode

robust monolith
#

live

vale escarp
#

I saw a search API call in test mode

#

when I tried 'query' => "status:'requires_payment_method'"

#

I only received the right result

#

what did you get that you think shouldn't be part of the list?

robust monolith
#

for example => pi_3MiIOPI089SQClcr1edBQBlJ

#

with limit: 100

vale escarp
#

this PI has a status of requires_payment_method

robust monolith
#

yeah, but there were also other actions/status changes .

#

i want explicitly to fetch only payment intents that have "Payment started"

#

nothing after

vale escarp
#

you'd have to filter them yourself

robust monolith
#

oh god ๐Ÿ˜“

#

so basically this way i just fetched all of them ๐Ÿ˜…

#

Thank you!!