Git Product home page Git Product logo

nopcommerce-api-sampleapplication's People

Contributors

itanev avatar poyker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nopcommerce-api-sampleapplication's Issues

Page not found

qq 20170826111259
qq 20170826111319

qq 20170826112307

HI , I click on 'Get Access Token',it return an error: Page not found
And when I Debug, Nop.Plugin.Api.Controllers.OAuth.OAuthController wouldn't run.
I don't know what happened

Example for posting product images

Hi,

I tried to upload new product images via the API, but was unable to figure out the way how it is done properly. Is there a example available or has someone implemented this successfully?

Thanks in advance!

Vendors

Vendors have access to the API settings via their Admin panel.
image

Issues with Redirect(authUrl);

I cannot get past this, the return Redirect(authUrl); fails and I get a XML message, "An error has occurred.". I'm connecting to the live server which is HTTPS. I verified the clientID as well as the other variables is the authUrl string. I verified the API Client setup on the live site is active and the call back url is: http://localhost:49676/token. When I change to debug and run nopcommerce with the api plugin locally it works, even if I use the same db as the live site. So I know it can create the authorization code. I'm pretty sure the issue is with getting it to refresh the token but, I can't get it past this point to refresh it. The return doesn't throw a direct exception, it continues on to the outer bracket and then throws the error on the api application's web page.

Any ideas are greatly appreciated.

2018-01-30 15_06_34-nopcommerce api debugging - microsoft visual studio

This image is after trying to use the RestSharp solution;

noperror

Latest release of Nop.Plugin.Api.Tests does not compile

Hi,

The latest release of this web api branch does not compile for Nop.Plugin.Api.Tests. I downloaded it yesterday. I did not clone it. That should not make a difference.

Here are the errors I'm seeing:

  • The type or namespace name 'ISerializableObject' could not be found (are you missing a using directive or an assembly reference?) Nop.Plugin.Api.Tests D:_depot\Test\nopCommerce-Web-Api-3.70\src\Tests\Nop.Plugin.Api.Tests\SerializersTests\DummyObjects\SerializableDummyObjectWithSimpleTypes.cs. This was corrected by adding "using Nop.Plugin.Api.DTOs;" to SerializableDummyObjectWithComplexTypes.cs.
  • The same error occurs for SerializableDummyObjectWithSimpleTypes.cs with the same fix.
  • The type or namespace name 'CreateMap' does not exist in the namespace 'Nop.Plugin.Api.Maps' (are you missing an assembly reference?) Nop.Plugin.Api.Tests D:_depot\Test\nopCommerce-Web-Api-3.70\src\Tests\Nop.Plugin.Api.Tests\ControllersTests\ShoppingCartItems\ShoppingCartItemsControllerTests_GetShoppingCartItemsByCustomerId.cs. This occurs for "Maps.CreateMap<Category, CategoryDto>();". I'm assuming this is an AutoMapper map definition, but I'm not faimiliar with this format. Changing to AutoMapper.Mapper.CreateMap<Category, CategoryDto>(); works.

Cheers,
Alain

Generating token

mvicwu3yr0wflecz5xhelq
i am using postman for your web api plugin to access Nopcommerce resources , but it giving me authorization error as this plugin is using Oauth 2.0 authentication. Can Anyone suggest me local auth URL and access token URL for generating successfully Bearer token to access resources
d-uwr4w9qn6fdzadgkfg7w

Bad Request and received error message "Invalid_client"

Hi guys,

I follow the Sample Application guide to run this app but received a 400 Bad Request ,then I catched the exception.Response property and use Stream Reader to read the message , it says "invalid_client" just as the picture below .

image

these are my config in Sample Application and Nopcommerce(v3.9) ,any idea can help ?

image

image

Bad Request I've already read this issue but still can't solve my problem ,this already cost me 2 days to find why but no any use of it... T_T

thx so much !!

401 when calling UpdateCustomer action

Hi!

I have successfully installed the API plugin. The sample application (nopCommerce-Api-SampleApplication) works fine with "GetCustomers". I also added a "GetProducts", which also worked like expected. But the sample action "UpdateCustomer" ends with an error message:
System.Net.WebException: 'Der Remoteserver hat einen Fehler zurückgegeben: (401) Nicht autorisiert
/ (401) not authorized

Any hint would help!

Thanks
Carsten

Bad Request

Hi guys, im using nop3.8 and followed the steps and getting Bad Request error.

What could be wrong ?

No examples of POST/PUT/DELETE

Hi,

Are you able to add POST/PUT/DELETE examples of Api plugin usage to this sample application?

This request relates to an issue I posted for the Api Plugin repository which is causing errors within the plugin.

Regards,
Alain

Client Secrets stored in plain text

The code is storing the client secret in the description field in plain text. This circumvents the benefit of using the Sha256 hash as the client secret can be easily viewed if the database is ever exploited.

API Documentation

Hi,

I have to integrate nopCommerce with some other system, I am unable to find all the endpoints e.g order fulfillment, Refund and invoicing. Can someone help me to find the documentation/ API for nopCommerce?

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.