#D365 Developer

1 messages · Page 1 of 1 (latest)

dapper summitBOT
karmic falcon
#

To confirm, are you using the legacy Charges API?

#

Or PaymentIntents?

forest apex
#

Payment Intents.

karmic falcon
#

Got it. There's not a way to do this since we don't keep a last updated field

#

What are you trying to do though? What's the end goal? Might be able to provide an alternative

forest apex
#

We Need to retrieve all rejected transactions on daily basis.

#

We are having nightly jobs to capture the rejected transactions.

#

So any possibility in this?

#

I observed cancelled at field but i am not able to use it in query.

karmic falcon
#

We recommend you use webhooks for something like this: https://stripe.com/docs/webhooks. So that you are proactively notified of failed payments. You can then store them on your end and do whatever you need. This would be the event to listen to in your case: https://stripe.com/docs/api/events/types#event_types-payment_intent.payment_failed

Listen for events on your Stripe account so your integration can automatically trigger reactions.

forest apex
#

Do we have any alternatives other tha webhooks?

karmic falcon
#

Not really

#

That's super inefficient though

#

That's why we always recommend webhooks for things like this

forest apex
#

ok thanks.

karmic falcon
#

No problem

forest apex
#

canceled at is showing numeric value what was that exactly? days or time?

karmic falcon
#

Unix timestamp