diff options
| author | Rene Ae <aehtyb@gmail.com> | 2015-11-11 16:58:40 -0600 |
|---|---|---|
| committer | Rene Ae <aehtyb@gmail.com> | 2015-11-11 16:58:40 -0600 |
| commit | cf29cacf85167e84f1aab4a45a2c1a7a2dad203f (patch) | |
| tree | 0c1104ae9a9419008a14dcea91190aeb5e71c09a /StoneIsland/www/js | |
| parent | ca49959f326d3a03a47b2352c19d52ef91085158 (diff) | |
more shipping tests
Diffstat (limited to 'StoneIsland/www/js')
| -rw-r--r-- | StoneIsland/www/js/sdk/shipping.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/StoneIsland/www/js/sdk/shipping.js b/StoneIsland/www/js/sdk/shipping.js index 95f78d82..9dd18454 100644 --- a/StoneIsland/www/js/sdk/shipping.js +++ b/StoneIsland/www/js/sdk/shipping.js @@ -34,7 +34,7 @@ sdk.shipping = (function() { "Type": opt.type, }, success: function(data){ - console.log(data) + //console.log(data) opt.success(data) }, error: opt.error, @@ -53,7 +53,10 @@ sdk.shipping = (function() { "x-yoox-cart-token": sdk.cart.token, }, success: function(data){ + console.log("delivery types") console.log(data) + // *returning an error here* + // [types] not valid.. investigate opt.success(data['DeliveryTypes']['Types']) }, error: opt.error, @@ -72,7 +75,7 @@ sdk.shipping = (function() { "Id": opt.id, }, success: function(data){ - console.log(data) + //console.log(data) opt.success(data) }, error: opt.error, |
