#michael_19345
1 messages · Page 1 of 1 (latest)
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.
- michael_19345, 22 hours ago, 28 messages
- michael_19345, 1 day ago, 3 messages
- michael_19345, 2 days ago, 36 messages
front end
Just curious what the goal is
building mixpanel tracking and we want to know the type of ECE
{
"id": "pi_3OXQKoDY3BzcP9iq1phGYcFp",
"object": "payment_intent",
"allowed_source_types": [
"card"
],
"amount": 1262,
"amount_details": {
"tip": {}
},
"automatic_payment_methods": {
"allow_redirects": "always",
"enabled": true
},
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"client_secret": "pi_3OXQKoDY3BzcP9iq1phGYcFp_secret_AFVbRBZU42L6h5DLUfDTl1QdU",
"confirmation_method": "automatic",
"created": 1704987502,
"currency": "usd",
"description": null,
"last_payment_error": null,
"livemode": false,
"next_action": null,
"next_source_action": null,
"payment_method": "pm_1OXQKpDY3BzcP9iqwtPRtrCt",
"payment_method_configuration_details": {
"id": "pmc_1KMbtqDY3BzcP9iqbaCqMFjU",
"parent": null
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"status": "succeeded"
}
i dont see it here in the paymentIntent response
You'll need to expand or retrieve the payment method object. It'll be there here: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-wallet
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so it doesnt come back after confirmPayment right?
i need another call to retrieve it
Yeah