While trying to run the CapturePayment sample, I am getting "Response Code of process a payment : 502". In the response. the error message is gven as "Error - General system failure". The error occurs in both jwt and http_signature authentication modes. I have checked that all the merchant Id, key path, etc are correct.
How can I fix this?