#mr_stinky_pants

1 messages · Page 1 of 1 (latest)

fresh canopyBOT
buoyant flume
#

hi there!

#

by listening to the payment_intent.succeeded webhook event

golden lynx
#

i mean this is calling the api which i have done

#

i just realised i am geting the date created not paid

#

so need to update it

buoyant flume
#

I don't understand your question, sorry

#

can you give a concrete example of the issue?

golden lynx
#

i have the pi already

#

i need the date paid

buoyant flume
golden lynx
#

yes i did that already

#

what i need is when it was paid not created

#

people sometimes pay late

fresh canopyBOT
analog bronze
#

Hey! Taking over for my colleague. I'm not sure I udnerstand what you mean here exactly ?

#

Could you please share more details ? with a concrete example ?

golden lynx
#

i have a payment intent and i need to get the date it was paid?

analog bronze
#

Then you check its created field

golden lynx
#

cool cheers

analog bronze
#

Happy to help!

golden lynx
#

getting like this?

#

var paymentIntentSearchOptions = new PaymentIntentSearchOptions
{
Query = "status:'succeeded' AND created>'" + fromdateTicks + "'",
};
paymentIntentSearchOptions.AddExpand("data.customer");
paymentIntentSearchOptions.AddExpand("data.latest_charge");

analog bronze
#

yes that should work

golden lynx
#

👍