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

How do I connect #29

Open
felipeabreu87 opened this issue Feb 18, 2021 · 1 comment
Open

How do I connect #29

felipeabreu87 opened this issue Feb 18, 2021 · 1 comment

Comments

@felipeabreu87
Copy link

I'm sorry to be a layman, but I can't make the connection. The interface does not find the "TransmitVerificationCodeDelegate", "VerificationData" and "PingRestInfo". And "DetermineMagentoVersionAndSetupServiceAsync" and "GetProductsAsync" are also in error. Do you have any documentation or could someone help me?

@jnewman-sv
Copy link
Contributor

jnewman-sv commented Feb 18, 2021

Hi @felipeabreu87 - could you give a little more information on how you're setting up the service?

You should be creating the service by using the IMagentoFactory interface.

It should look something like this:

var IMagentoFactory _factory = new MagentoFactory();
var userAuthCredentials = new MagentoAuthenticatedUserCredentials(...);
var magentoConfig = new MagentoConfig()
  {
     ...
  };
var magentoService = this._factory.CreateService(userAuthCredentials, magentoConfig)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants