#warrioru
1 messages · Page 1 of 1 (latest)
Can you share the pi_xxx?
sure, pi_3LegztDuDWVdzaDO2kQFG8f2
Hmm, payment_method is unset for that PI so its expected it not return an ID or object
how is unset? in the stripe dashboard I see the payment made with the card
I see a normal payment method there
Yep, that's the source field
Which reflect the param you passed when you used the /pay endpoint for the associated Invoice: https://dashboard.stripe.com/test/logs/req_gkybzECdYeFJnv
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Seems that was done via the Dashboard, which will use the default_source of the associated Customer: https://dashboard.stripe.com/test/customers/cus_MNRYnnsXA03V7O
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yeah, was made using the dashboard. ok, then I dont get a payment method info when the payment is taken directly from the customer default_source
thanks!
You do, it's just on a different field
Instead of payment_method on the PI object, use source
ah I havent seen this 'source' propoerty before. I'll try expanding it now
Shouldn't need to, it's already the full object
ok, thanks! I'll look for it