#mibrahim15

1 messages · Page 1 of 1 (latest)

sharp edgeBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

indigo grove
#

Hi 👋

There is too much activity on the server to re-open threads. Can you summarize the current state of your question?

runic rapids
#

yes sure

#

I posted earlier about it as well that was not getting any charge with IDS starting with "py_" like
py_3NYFqh4V4UG4b3Qn0EiWnXSy in charges API when fetching charges for date range

Date range right now I am looking for is
2023-07-26 00:00:00
2023-07-26 23:59:59
OR
1690329600
1690415999

I was suggested to use auto-pagination instead of passing "startingafter". I tried it with auto-pagination now but still not getting any charges with "py"

Example: py_3NYFqh4V4UG4b3Qn0EiWnXSy, py_3NYFnW4V4UG4b3Qn086fLM1q, py_3NYFlL4V4UG4b3Qn143YpyKX

Now using

$donationsArray = \Stripe\Charge::all([

        'created' => [
            'gte' => $donations_from_date_start,
            'lte' => $donations_from_date_end,
        ],
        'expand' => ['data.balance_transaction']
      ]);

foreach ($donationsArray->autoPagingIterator() as $donation) {
array_push($donations->data, $donation);
}

#

and still not getting these ids in response:
py_3NYFqh4V4UG4b3Qn0EiWnXSy, py_3NYFnW4V4UG4b3Qn086fLM1q, py_3NYFlL4V4UG4b3Qn143YpyKX

indigo grove
#

You are still passing the created parameter. I recall that previous thread and every time your parameters exclude the payments you are looking for