CyberSource / CyberSource/cybersource-rest-samples-csharp
Issue with PtsV2CreditsPost201Response class. ErrorInformation property is missed
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:

but using the CyberSource library PtsV2CreditsPost201Response I receive this response

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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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