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

Solved! Go to solution
NiNa
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

 

8 REPLIES 8
twiens
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.

API_Products
Visa Developer Support Specialist

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.

 

 




Thanks,

Diana H.



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

twiens
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

API_Products
Visa Developer Support Specialist

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!

 

 

 




Thanks,

Diana H.



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

API_Products
Visa Developer Support Specialist

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

 

 




Thanks,

Diana H.



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

samritbk
Regular Visitor

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

DiannaTran-Yee, I don't understand why we need to connect with cybersource directly after looking though the api docs you have all day. I don't understand why you cannot just fix the problem. I am having the same issue and I don't even know why.

API_Products
Visa Developer Support Specialist

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

Hey @samritbk,

 

After meeting with CyberSource, we have come to learn that VDP generated Merchant ID’s will experience an unresolvable gateway issue.
 
The EBC error message: The payment processor gateway name is either invalid or missing
 
Currently, the only method to properly query the CyberCource Payments sandbox is creating a merchant account directly with CyberSource:
 
https://developer.cybersource.com

 

Luckily, their site also provides an easy to use method to test their account credentials:
 
https://developer.cybersource.com/api/reference/api-reference.html


Additionally, here are the following links for sample code:  https://github.com/CyberSource/cybersource-rest-samples-java/blob/master/src/main/java/samples/payme...

 




Thanks,

Diana H.



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

API_Products
Visa Developer Support Specialist

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.

 




Thanks,

Diana H.



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