#QuiTe

1 messages · Page 1 of 1 (latest)

onyx archBOT
hollow orchid
crystal cedar
#

$result = \Stripe\PaymentIntent::retrieve($request->get($payment_intent, ['expand' => ['payment_method']]);
I use this code and do not get payment_method object (PHP)

hollow orchid
#

can you share the request_id for request made by the above code?

crystal cedar
#

do you mean payment intent Id?

hollow orchid
crystal cedar
#

This is the request ID req_1wJLmsRfZpBfy0

hollow orchid
crystal cedar
#

$stripe = Stripe::setApiKey($secretKey);
$result = \Stripe\PaymentIntent::retrieve($payment_intent, ["expand" => ["payment_method"]]);
This is my code
i use "stripe/stripe-php": v7.86.0

hollow orchid
#

this works for me

\Stripe\PaymentIntent::retrieve(['id' =>'pi_...', 'expand' => ['payment_method']]);
crystal cedar
#

I have no idea. But i use other way and it works. Thank for your help

#

But i do not see Bank account info

hollow orchid
#

what bank account info are you looking for?

#

can you give an example?

crystal cedar
#

i want to get this info

hollow orchid
#

that's not available by default - what are you planning to use that information for?

crystal cedar
#

I want this information to make a report for my manager

hollow orchid
crystal cedar
#

Thank you