#deathhand5366

1 messages · Page 1 of 1 (latest)

brave yewBOT
oblique sun
#

Hello

#

What's giving you trouble specifically?

amber epoch
#

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

oblique sun
#

Ah yes, you want to use latest_charge instead

amber epoch
#

i tryied but it returns me a null object

oblique sun
#

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?

amber epoch
#

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

oblique sun
#

Can you provide the PaymentIntent ID that you are looking at? And your code for how you are inspecting latest_charge?

amber epoch
#

also the attribute LatestChargeId seems to have a value when LatestCharge is null

oblique sun
#

You have to expand latest_charge to see the entire object

amber epoch
#

i will try that and see if it helps

brave yewBOT