Skip to content

Magento2 – How to get payment status from Stripe

I would like to know if there is a any way to get the payment status from Stripe based on Magento order id.

I have checked this doc, I got this Search PaymentIntents example to search payment. Once I have checked curl call and ran it, it wasn’t working for me. Always it gave me an empty result. Any code example for Magento2?

enter image description here

Your help will be greatly appreciated. Thank You