Giter Site home page Giter Site logo

rest_api_v2_sdk_javascript's People

Contributors

perrytew avatar ucjonathan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

rest_api_v2_sdk_javascript's Issues

There is no way to load the the package in angular 6.0

All the time that I try to make an import in angular 6.0 like this:

import * as UltraCartRestApiV2 from 'ultra_cart_rest_api_v2';

I get tons of errors error like this:

Module not found: Error: Can't resolve 'com.ultracart.admin.v2.models/CouponAmountOffSubtotalWithItemsPurchase' in '/Users/bb/Projects/Code/inteliclic/SkinTypeWeb.V2/node_modules/ultra_cart_rest_api_v2/src/com.ultracart.admin.v2.models'
ERROR in ./node_modules/ultra_cart_rest_api_v2/src/com.ultracart.admin.v2/CouponApi.js
Module not found: Error: Can't resolve 'com.ultracart.admin.v2.models/CouponCodesRequest' in '/Users/bb/Projects/Code/inteliclic/SkinTypeWeb.V2/node_modules/ultra_cart_rest_api_v2/src/com.ultracart.admin.v2'

[Perry removed many lines of the same type of error]

The error is bigger, but I really don't know what to do, any suggestions ?

CORS issue on items api endpoint

Hi there,

Following the code listed here: https://github.com/UltraCart/rest_api_v2_sdk_javascript/blob/master/docs/ItemApi.md#example-3

We're getting a CORS error that our domain isn't on the allow for secure.ultracart.com
Access to XMLHttpRequest at 'https://secure.ultracart.com/rest/v2/item/items?_limit=2000&_offset=0&_placeholders=true' from origin 'https://www.our-domain.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

We're not seeing this same CORS issue with another API endpoint that we are using for the cart that works just fine:
https://secure.ultracart.com/rest/v2/checkout/cart/5A4B56B0EBEA2A017E98526B40200B00?_expand=items

Tag release

Releases need to be tagged for easier versioning in package.json of node projects.

Javascript / nodejs checkout lifecycle documentation

Is there any documentation on the lifecycle of a javascript checkout?

I'm trying to achieve a checkout where the user doesn't have to leave the site, and while the individual API functions are documented to some extent, there's no information on what's actually required to put them all together.

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.