#vincent-list-payout

1 messages · Page 1 of 1 (latest)

surreal oriole
#

hello,
1/ what error? can you paste the error msg here?

2/ can you share the request ID?

hushed mortar
#

Fatal error: Uncaught Stripe\Exception\InvalidArgumentException: Got unexpected keys in options array: arrival_date.lte in /homepages/5/d246311777/htdocs/locations/bagneux/idc/vendor/stripe/stripe-php/lib/Util/RequestOptions.php:143 Stack trace: #0 /homepages/5/d246311777/htdocs/locations/bagneux/idc/vendor/stripe/stripe-php/lib/Util/RequestOptions.php(59): Stripe\Util\RequestOptions::parse(Array, true) #1 /homepages/5/d246311777/htdocs/locations/bagneux/idc/vendor/stripe/stripe-php/lib/BaseStripeClient.php(131): Stripe\Util\RequestOptions->merge(Array, true) #2 /homepages/5/d246311777/htdocs/locations/bagneux/idc/vendor/stripe/stripe-php/lib/BaseStripeClient.php(154): Stripe\BaseStripeClient->request('get', '/v1/payouts', Array, Array) #3 /homepages/5/d246311777/htdocs/locations/bagneux/idc/vendor/stripe/stripe-php/lib/Service/AbstractService.php(64): Stripe\BaseStripeClient->requestCollection('get', '/v1/payouts', Array, Array) #4 /homepages/5/d246311777/htdocs/locations/bagneux/idc/vendor/stripe/stripe-php/lib/Service/ in /homepages/5/d246311777/htdocs/locations/bagneux/idc/vendor/stripe/stripe-php/lib/Util/RequestOptions.php on line 143

#

any idéa ?

surreal oriole
#

can you share the request ID?

hushed mortar
#

where can i found that ?

#

I just made a call with php script

#

$payout = $stripe->payouts->all( ['arrival_date.gte' => $startdate], ['arrival_date.lte' => $enddate], ['limit' => 100]);

#

where can I found request ID ?

#

@surreal oriole ?

surreal oriole
hushed mortar
#

I'm not in test mode

#

I'm in production

#

and the log are showing payment intent

#

but me i just try to list payout

#

it does not appear there

#

there is nothing

surreal oriole
#

you have to change the Logs filter to list "GET" requests

light tusk
#

I think you want `$stripe->payouts->all(['arrival_date' => ['gte' => $startdate, 'lte' => $enddate], 'limit' => 100])

surreal oriole
#

and switch over to "live" in the toggle on the top to see livemode logs

hushed mortar
#

ok i put in live mode and also check "GET"

#

but when i refresh the script, the error come direcly

#

I look on stripe dashboard and nothing is logged

#

my code like this

#

$payout = $stripe->payouts->all( ['arrival_date.gte' => $startdate], ['arrival_date.lte' => $enddate], ['limit' => 100]);

foreach ($payout->autoPagingIterator() as $payouts) {

#

maybe autoPagingIterator do not handle arrival_date.gte ?

surreal oriole
#

you want what tr12 mentioned here: #897154262591750224 message

gte and lte are fields under the arrival_date hash so

$stripe->payouts->all([
  'arrival_date' => 
    [
      'gte' => $startdate, 
      'lte' => $enddate
    ]
  , 'limit' => 100]
)
hushed mortar
#

ok gonna try this