#doug-email-customer

1 messages · Page 1 of 1 (latest)

marble lily
#

Hey @silk fern if you look at the error message the + doesn't seem to be there and that's the problem. Why are you putting a \ before +?

silk fern
#

Hey, I put the wrong output. But, both are not working

-d email="doug+test@google.com" or
-d email="doug\+test@google.com"

marble lily
#

I think it's just a quirk of curl here, not our API. Try a call in with one of our libraries server-side and it just works right?

#

yeah I tried in PHP it works fine

silk fern
#

I tried with PHP and it worked. Thank you!

#

I will use the lib

marble lily
#

-d email=aaaaa%2Blol@lol.com

#

this seems to do the same, must be some weirdness with curl's URL encoding or something

silk fern
#

Nice, thank you

#

Other problem:

Fatal error: Call to undefined method Stripe\Service\CustomerService::search() ```
#

the API does not recognize search()

#
          'query' => "email:'".$email."'",
    ]);```
marble lily
#

you likely are on an old version of stripe-php from before Search existed