#daniyal_11692

1 messages · Page 1 of 1 (latest)

solemn sigilBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

versed ridge
#

How can I help?

merry solstice
#

for any transaction i want to know about payment method and type like: “Wallet / Apple Pay” or “Card / Visa”

#

i've the payment intent object

versed ridge
#

Will have all the details like card type, brand, wallet, etc

merry solstice
#

latest_charge has only id with it .

#

nothing to expand

versed ridge
merry solstice
#

it shows type as card for both gpay and card

versed ridge
merry solstice
#

walled field will be null in case if card?

versed ridge
#

Yes if a non-wallet

merry solstice
#

i see this info also in $paymentIntent['charges']['data'][0]['payment_method_details']

#

is it ok to use it from here instead of latest_charge

versed ridge
#

Do you have an example pi_xxx ID?

merry solstice
#

pi_3OPObKH0mp7J0S261l3BWney

versed ridge
#

Yeah so that object was created using an older API version so charges should work fine too