Skip to content

Need way to support multiple Merchant Authentication credentials in one application #160

Description

@ndzeller

Good morning!

I'm running into an issue that we can not configure multiple merchant authentication details because ApiOperationBase declares the MerchantAuthenticationType as static. It seems that it behaves this way as "convenience" so that every request object doesn't need have them set, but in my case I need it to be composed in the object rather than declared static.

The only other solution I can come up with for using this SDK for our application would be to synchronize the set of ApiOperationBase.setMerchantAuthentication(), request creation, and request sending all in one block, which would greatly bottleneck the application.

Is there another way you would suggest handling this use case?

Thanks so much for your time and a timely response would be much appreciated.

Activity

  1. gnongsie commented on Apr 22, 2019

    @gnongsie
    Contributor

    Hi,
    Apologies for the delay.
    Can you provide me with a little more information?

    • Are you running the requests in parallel? If not, kindly provide a flow that I can simulate.
    • Are you using the same controller type for the requests?
    • Are you using the same controller instance?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions