Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

202 HTTP reponse code and status not handled #26

Open
jwgcooke opened this issue Jul 10, 2019 · 10 comments
Open

202 HTTP reponse code and status not handled #26

jwgcooke opened this issue Jul 10, 2019 · 10 comments
Assignees

Comments

@jwgcooke
Copy link

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

@snavinch snavinch assigned gnongsie and chsriniv9 and unassigned gnongsie Jul 17, 2019
@jwgcooke
Copy link
Author

Is this something you are looking at and/or working on?

@gnongsie
Copy link
Contributor

Hi,

We have communicated this to the relevant team to get more information regarding response code 202. Kindly be patient with us and we will relay any information as soon as we get it.

@jwgcooke
Copy link
Author

I am assuming, based on the lack of an update, that this issue is still not corrected?

@krarjun90
Copy link

@jwgcooke this still exist. these response code are document in Simple Order API reference guide.
https://ebc2test.cybersource.com/ebc2/documentation/resource/en-us/FME_Dev_Guide_SO_API/pdf/FME_developer_guide_SO_API.pdf

Can this be fixed ? Can we not send decision manager response code as status ? the sdk documentation only has these values

   /**
   * The status of the submitted transaction.  Possible values:  - AUTHORIZED  - PARTIAL_AUTHORIZED  - AUTHORIZED_PENDING_REVIEW  - DECLINED  - INVALID_REQUEST 
   * @return status
  **/

@chandru9279
Copy link

Bump.

@jwgcooke
Copy link
Author

Not sure why you are tagging me? Perhaps you should tag the Cybersource folks who maintain this repo. Honestly there are so many issue with the REST API we stopped working on implementing it and went to the SOAP API which is antique but at least functions

@chandru9279
Copy link

@gnongsie Could you please check?

@gnongsie
Copy link
Contributor

Hi,
This has been relayed to the relevant team. Kindly bear with me as I get an update from them.

@jwgcooke
Copy link
Author

18 months later....

@glglglggl
Copy link

2 years later. truing to find info of wrong error code response...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants