CyberSource / CyberSource/cybersource-rest-samples-java

Code doesn't compile with version. 0.0.23

Open
#45 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
35
Forks
84
Avg merge
37m
Merged PRs (30d)
1

Description

I'm trying to use the latest version of the API; and I am getting code compile errors. For example, when trying to use the code that Auths and Creates a Token I get an error saying processingInformation.actionList(actionList); is not found. I checked the diff on the main api project and it appears that function was removed and I can't find a suitable replacement. Please help!

   Ptsv2paymentsProcessingInformation processingInformation = new Ptsv2paymentsProcessingInformation();
    List <String> actionList = new ArrayList <String>();
    actionList.add("TOKEN_CREATE");
    
    **processingInformation.actionList(actionList);**

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 with the authentication and token-creation sample containing Ptsv2paymentsProcessingInformation and compare its version 0.0.23 usage with the main API project's changes. Identify the replacement for processingInformation.actionList(actionList), then verify that the sample compiles with the current API version.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.