#rbole

1 messages · Page 1 of 1 (latest)

oak turtleBOT
night trout
#

Hi! Let me help you with this.

#

It has the payment_intent attached that has more information about the time of the payment.

echo stream
#

ok, so I after receiving the invoice I have to query the payment_intent, then I can store this info in our DB as well.

#

but in the payment_intent object, which property shows the date of the payment ?

night trout
echo stream
#

I receive the invoice after the webHook event. How can I expand it in that situation ?

night trout
#

What programming language are you using?

echo stream
#

node.js

night trout
#

You can expand objects when you call constructEvent.

echo stream
#

sorry but I can't find this in the hook request from stripe to our API endpoint.

night trout
#

Let me check.

echo stream
#

ok I got it, but the paymentDate is represented with the created property ?

night trout
#

Yes

echo stream
#

alright, thank you for helping me out.

night trout
#

Happy to help!