#Lorey-pi-charges

1 messages · Page 1 of 1 (latest)

slate oxide
#

Hey! No that's not safe to assume as there may be multiple Charge objects relating to a single Payment Intent

#

What do you need from the Charge object?

low galleon
#

We want to log the charge as that represents that payment done in the moment in time

#

As you say, a payment_intent could be responsible for multiple payments

#

So the charge is important to us

#

For example when dealing with disputes and refunds

#

we need to be able to track the original payment

slate oxide
low galleon
#

Alright! Are these also fired for Subscription invoices?

#

I know Subscriptions do create a PaymentIntent

slate oxide
#

Wherever there's an actual payment and a Charge object then they'll be a charge event

low galleon
#

Alright thank you!