Incorrect datamember name used in payer auth response object
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
Research direction
Open RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.cs and inspect the AccessToken data member used by PayerAuthenticationAPI.CheckPayerAuthEnrollment(). Compare it with the /risk/v1/authentications response described in the issue; done means the returned "token" value populates apiResponse.ConsumerAuthenticationInformation.AccessToken.
Written by the indexing model from the issue text.
Description
Description
The response object for the /risk/v1/authentications API endpoint is not using the correct field name for the consumerAuthenticationInformation object. RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.AccessToken uses "accessToken" as the datamember but the API returns "token" so this isn't parsed correctly.
Affected sources files
- RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.cs
Affected methods
PayerAuthenticationAPI:
- CheckPayerAuthEnrollment()
Steps to reproduce
Dim apiInstance = New PayerAuthenticationApi(ClientConfiguration)
Dim apiResponse = apiInstance.CheckPayerAuthEnrollment(checkEnrollmentRequest)
//Access token will be null
apiResponse.ConsumerAuthenticationInformation.AccessToken
- Dominant language
- C#
- Stars
- 25
- Forks
- 50
- Avg merge
- 4h 26m
- Merged PRs (30d)
- 1
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.
More from CyberSource/cybersource-rest-client-dotnet
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CyberSource/cybersource-rest-client-dotnet#129 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
CyberSource/cybersource-rest-client-dotnet#243 · 10 comments · 2 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 62/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
CyberSource/cybersource-rest-client-dotnet#239 · 4 comments ·
All issues in CyberSource/cybersource-rest-client-dotnet
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·