#mike-latestcharge-dotnet

1 messages ยท Page 1 of 1 (latest)

long tartanBOT
inland mirage
#

mike-latestcharge-dotnet

#

Hey @solid hound ! Has that PaymentIntent been confirmed successfully already?

solid hound
#

hello yes i am seeing a succeeded status for it

#

it's a test environment charge

#

i see the list of charges in the payment intent history but it is null in the .NET object

inland mirage
#

can you share a PaymentIntent id and your exact code?

solid hound
#
var intent = await _intent.Await(parameter.Identifier);
        parameter.ReceiptAddress = new(intent.LatestCharge.ReceiptUrl);
#

pi_3MEfjBEkrSnEQJDB0vEyOmhS

inland mirage
#

what does await _intent.Await( mean? Can you share the exact code for the Stripe part?
also did you expand the latest_charge property: https://stripe.com/docs/expand?
Because by default it's just latest_charge: 'ch_123'

solid hound
#

thank you very much @inland mirage you are my hero ๐Ÿ˜„ expanding was the trick

inland mirage
#

ah awesome!

solid hound
#

i've never had to do that before but i guess since this is new that makes sense. thank you SO very much have a Happy Holidays out there ๐ŸŽ„โ˜ƒ๐ŸŽ