#justine222

1 messages · Page 1 of 1 (latest)

snow peakBOT
young jay
#

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.

#

Can you tell me more about what you are trying to do that you are trying to use either a Charge or PaymentIntent for?

quasi hill
#

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

young jay
#

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.

#

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

quasi hill
#

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?

young jay
quasi hill
#

Yeah

#

That’s it

#

oh i see that here, it's the last one

#

okay great thank you! i think i'm all set here