Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ndzeller opened this issue Apr 16, 2019 · 1 comment

Comments

@ndzeller
Copy link

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.

@gnongsie
Copy link
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
Development

No branches or pull requests

2 participants