#ajay-php
1 messages · Page 1 of 1 (latest)
@oak shale
it has to be
$stripe->paymentIntents->retrieve(['id'=> "pi_xxx"], ['stripe_account'=> "acct_xxx"])
it's just a warning
but I havent got any response
yeah you probably have error_reporting(E_WARNING) set in your script
if you remove that does it work?
actually I think I was wrong
I think that's the syntax, try that.
I am using
composer require stripe/stripe-php package
thats now working
thanks alot
but could you explain reason of that []?
first argument is the ID, second argument is parameters to the API call(there are none for this retrieve API though), third argument is the request-specific options, like stripe_account