Skip to content

NullPointerException when doGetTokenCall #2

Description

@gaom25

When I create a PayeezyClientHelper with a Properties object passed as argument I got a NullPointerException.
The exact error is:

  • com.firstdata.payeezy.PayeezyClientHelper.doGetTokenCall(PayeezyClientHelper.java:102)

The code to create this object is:
Properties p = new Properties(); p.setProperty("url","https\\://api-cert.payeezy.com"); p.setProperty("apikey",api-key); p.setProperty("pzsecret",secret); p.setProperty("token",token); p.setProperty("proxyHost",""); p.setProperty("proxyPort",""); PayeezyClientHelper clientHelper = new PayeezyClientHelper(p);

I saw the documentation and it said the the required properties are, url, apikey, secret and token.
Thank you

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions