#justine222
1 messages · Page 1 of 1 (latest)
Hello, a payment intent (pi_123) is a state machine for tracking the attempts to charge a user. A Charge object (ch_456) is an object that represents a single attempt to charge a user. So PaymentIntents will actually help you generate and track Charge objects.
We have a video here that explains our different payment objects if you are interested https://stripe.com/docs/payments/tour#payment-objects
Can you tell me more about what you are trying to do that you are trying to use either a Charge or PaymentIntent for?
We have a customer facing billing page in product - when a payment is successful we want to reflect that there and log a unique stripe ID alongside that (not user facing) so I want to know which is the best stripe ID to use
Either of those work though the PaymentIntent is the more common one to use now. It will generally be used by more of our APIs.
Oh and we have an entire doc on the difference between these two https://stripe.com/docs/payments/payment-intents/migration/charges
But yeah, the PaymentIntents API is more recent so we generally recommend working with that API rather than directly with the Charges API where possible
Okay thanks! And we don’t have the concept of a shopping cart so shouldn’t have abandoned paymentintents which I think helps
Is there a way to add the paymentintentID in the export that is done manually in the dashboard?
Can you link me to the dashboard page that you are looking to export? Is it just https://dashboard.stripe.com/test/payments
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.