0

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

2
  • Just to make sure the API is working and the account contains orders. Have you tried to just query for the order_id to make sure it exists or all orders with status equal succeeded? Jul 4, 2022 at 14:29
  • Yes I passed correct order status and order id. Once I passed only status, it was working. If I passed only order Id or order I’d with status, I didn’t get any error but received only empty result. Jul 4, 2022 at 17:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.