Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Environment not set. Set environment using setter or use overloaded method to pass appropriate environment #163

Copy link
Copy link
Open
@kanagalingam

Description

@kanagalingam
Issue body actions

Hi all ,
I am stuck with an error while performing Payment using accept suite.

CreateTransactionController controller = new CreateTransactionController(apiRequest);
controller.execute();

Debugging the controller object, shows the following error

Environment not set. Set environment using setter or use overloaded method to pass appropriate environment

I am using the class

CreateAnAcceptPaymentTransaction

The version of the SDK I am using is v2.0.1 !

I' m setting the environment as the example, didn't change anything:
ApiOperationBase.setEnvironment(Environment.SANDBOX);

Any headsup will be really helpful!

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.