ZOQL: Query for Payment Error Message in Payment Collection
We have a payment ID we are querying for and the status is set to 'Error'. In the GUI we can see that the error message is '502 - Bad Gateway'. We are trying to find/display the payment error reason and cannot seem to find where we can get this information. We have been attempting to use ZOQL and looked through the Payment and InvoicePayment collections with no success. Is there another collection we need to be looking at? Or some other method entirely we should be using?
Re: ZOQL: Query for Payment Error Message in Payment Collection
You can find this information in "Payment Transaction Log", it can be access via REST or UI. We also provide "Payment Method Transaction Log" via REST and UI as well to capture data sent/receive during payment method authorization. Hope this helps!
Thank you @combsCombs!
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √