Visa Developer Community

Regular Visitor

Cyber source - process payment getting SERVER_ERROR with error message "General system failure"

Hi, I'm following the example in Cybersource - process payments, the token validation passed but I'm receiving error message

{
"submitTimeUtc": "2019-07-14T01:55:28Z",
"status": "SERVER_ERROR",
"reason": "SYSTEM_ERROR",
"message": "Error - General system failure."
}

I'm using the same request body as in the example.

My X-Correlaction-ID is 1563069813_748_731197757_l55c013_VDP_WS.

 

I found several topics discussing this issue but didn't find any useful solution. Anyone facing the same issue?

 

Thanks

 

6 REPLIES 6
Regular Visitor

Re: Cyber source - process payment getting SERVER_ERROR with error message "General system fail

I am facing the exact same issue, while following the example in Cybersource - process payments.

 

My X-Correlation-ID is 1563183349_908_102_l73c038_VDP_ARM.

Visa Dev Moderator

Re: Cyber source - process payment getting SERVER_ERROR with error message "General system fail

Hey @NiNa,

 

To further investigate, please provide the following information:

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana

Visa Dev Moderator

Re: Cyber source - process payment getting SERVER_ERROR with error message "General system fail

Hey @twiens,

 

To further investigate, please provide the following information:

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 

 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana

Regular Visitor

Re: Cyber source - process payment getting SERVER_ERROR with error message "General system fail

Thank you for your quick response. In the following, you will find the required information.

 

1. Endpoint:

Spoiler
https://sandbox.api.visa.com/cybersource/v2/payments?apikey={my api key}

2. Request Header:

Spoiler
"content-type": "application/json",
"x-pay-token": {generated according to the given function}

3. Request Body:

Spoiler
{
    "clientReferenceInformation": {
    "code": "TC50171_3"
    },
    "processingInformation": {
        "commerceIndicator": "internet"
    },
    "aggregatorInformation": {
        "subMerchant": {
            "cardAcceptorID": "1234567890",
            "country": "US",
            "phoneNumber": "650-432-0000",
            "address1": "900 Metro Center",
            "postalCode": "94404-2775",
            "locality": "Foster City",
            "name": "Visa Inc",
            "administrativeArea": "CA",
            "region": "PEN",
            "email": "test@cybs.com"
        },
        "name": "V-Internatio",
        "aggregatorID": "123456789"
    },
    "orderInformation": {
        "billTo": {
            "country": "US",
            "lastName": "VDP",
            "address2": "Address 2",
            "address1": "201 S. Division St.",
            "postalCode": "48104-2201",
            "locality": "Ann Arbor",
            "administrativeArea": "MI",
            "firstName": "RTS",
            "phoneNumber": "999999999",
            "district": "MI",
            "buildingNumber": "123",
            "company": "Visa",
            "email": "test@cybs.com"
        },
        "amountDetails": {
            "totalAmount": "102.21",
            "currency": "EUR"
        }
    },
    "paymentInformation": {
        "card": {
            "expirationYear": "2031",
            "number": "5555555555554444",
            "securityCode": "123",
            "expirationMonth": "12",
            "type": "002"
        }
    }
}

4. Response Header:

 

Spoiler
{
   'Server': 'Apache',
   'X-SERVED-BY': 'l73c032',
   'X-CORRELATION-ID': '1563254997_932_97_l73c032_VDP_ARM',
   'X-Cnection': 'close',
   'x-response-time': '262ms',
   'Strict-Transport-Security': 'max-age=31536000 ,max-age=2592000;includeSubdomains',
   'v-c-correlation-id': '96244bba-59b5-4aca-bf5e-87468484c9bc',
   'X-APP-STATUS': '502',
   'X-Frame-Options': 'SAMEORIGIN',
   'X-XSS-Protection': '1; mode=block',
   'X-Content-Type-Options': 'nosniff',
   'Cache-Control': 'no-cache, no-store, must-revalidate',
   'Pragma': 'no-cache',
   'Expires': '-1',
   'Content-Type': 'application/json',
   'Content-Length': '132',
   'Date': 'Tue, 16 Jul 2019 05:29:58 GMT',
   'Connection': 'close'
}

5. Response Body:

Spoiler
{
   "submitTimeUtc": "2019-07-16T05:29:58Z",
   "status": "SERVER_ERROR",
   "reason": "SYSTEM_ERROR",
   "message": "Error - General system failure."
}

Thanks,

twiens

Visa Dev Moderator

Re: Cyber source - process payment getting SERVER_ERROR with error message "General system fail

Hey @twiens,

 

Thanks for providing this information. I'll take a look and get back to you soon!

 

 

 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana

Visa Dev Moderator

Re: Cyber source - process payment getting SERVER_ERROR with error message "General system fail

Hey @twiens,

 

To help resolve the issue, can you please integrate with CyberSource directly? Here is the link for CyberSource integration - https://developer.cybersource.com/api/reference/api-reference.html

 

 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana