CyberSource / CyberSource/cybersource-rest-client-java

202 HTTP reponse code and status not handled

Open
#26 10 comments 1 reaction 1 assignee View on GitHub

@chsriniv9 is already working on this.

Since Jul 18, 2019.

Dominant language
Java
Stars
29
Forks
50
Avg merge
28m
Merged PRs (30d)
1

Description

on a payment call we are seeing a 202 HTTP response coming back with a status of "202" and an errorInformation block that indicates a reject state. There is nowhere in the rest sdk of any of the docs that suggest that a 202 is a valid response code OR a valid status code

Example Response:
{ "id": "#################", "submitTimeUtc": "2019-07-10T14:46:06Z", "status": "202", "errorInformation": { "reason": "REJECT", "message": "The order has been rejected by Decision Manager" } }

FYI this is reproducible in the REST API "try it live" page

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.