#gee
1 messages · Page 1 of 1 (latest)
10.8
Which language?
php
PHP code should look like: https://stripe.com/docs/api/charges/search?lang=php
$stripe = new \Stripe\StripeClient(
'sk_xxx'
);
$stripe->charges->search([
'query' => 'amount>999 AND metadata['order_id']:'6735'',
]);
Can you share your full code?
$stripe = new \Stripe\StripeClient(
'sk_test_xxxx'
);
$charges = $stripe->charges->search([
'query' => 'amount>900',
]);
print_r($charges);
exit;
$charges = $stripe->charges->all(['limit' => 3]); this works
We don't have Stripe PHP library version with 10.8. Could you double check the version again?