CyberSource / CyberSource/cybersource-rest-samples-csharp

Issue with PtsV2CreditsPost201Response class. ErrorInformation property is missed

Open
#80 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
28
Forks
46
PR merge metrics
No merged PRs in 30d

Description

Hi, When make the credit transaction, I send invalid card data or another invalid data I receive such response from the server:
image

but using the CyberSource library PtsV2CreditsPost201Response I receive this response

image

I think that we need to add the Error Information property with the Message and Reason fields so that this class contains the complete information that we receive from the server.

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.

Research direction

Start by locating the PtsV2CreditsPost201Response class and reviewing how credit transaction error responses are represented. Compare the class with the server response shown in the issue, then verify that invalid card data exposes the ErrorInformation message and reason fields in the returned response.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.