Response
This document outlines the handling of HTTP codes in payment processing, detailing how different codes affect transaction status and response handling.
HTTP codes
The HTTP code is also presented in the
Response_Code
field in the transaction log.
|
HTTP Code |
Description |
|
200/202 |
The HTTP request is received by an external server (a payment hub), and the payment is successfully sent to the external gateway and a response is already received from the gateway side.
The payment status could be successful or failed, determined by the
For details, see Payment hub response field . |
|
400 |
The HTTP request is received by an external server (a payment hub), passed authentication, but the payment hub cannot understand it, or cannot find some important information. The payment request is not sent to an external gateway. Zuora will mark payment records as
|
|
401 |
The HTTP request is received by an external server (a payment hub), and can not pass authentication. The payment request is not sent to an external gateway. Zuora will mark payment records as
|
|
Other code such as 404, 500 |
Something is wrong on the external server (a payment hub) side. The payment hub does not know if the payment record has been sent to an external gateway. The payment status is unknown. Zuora will keep payment records as
|