#deathhand5366
1 messages · Page 1 of 1 (latest)
i was using the 27 version of the package and now i'm trying to update to 43.2.0
in this version charges attributes seems to be removed
i tryied but it returns me a null object
Well are you sure there is a Charge related to the PaymentIntent you are working with?
Do you have an example PaymentIntent you can share?
above that line of code there is this if(paymentIntent.Status == "succeeded")
that meas that there is a charge to the paymentIntent?
also in the stripe console i can see the payment so it exist
Can you provide the PaymentIntent ID that you are looking at? And your code for how you are inspecting latest_charge?
also the attribute LatestChargeId seems to have a value when LatestCharge is null
You have to expand latest_charge to see the entire object
See: https://stripe.com/docs/expand for information on how to expand
i will try that and see if it helps