#rasparc-wallets
1 messages · Page 1 of 1 (latest)
if it used Google Pay then the field https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-wallet will be set on the resulting payment
Thanks. Is there a way to mock/test this?
Also i need to get this data when i get payment_intent.succeeded event
@charred saddle is this possible? I can get payment details from payment_intent.payment_method.id
make a test payment using Google Pay(visit your site with your real phone/logged into Chrome with your details saved while using test mode Stripe API keys)
event.data.object.charges.data[0].payment_method_details will have it
PaymentIntents have the Charge object in them https://stripe.com/docs/api/payment_intents/object#payment_intent_object-charges