Skip to content

Javascript on the purchase process is broken #9

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

Open
liuggio opened this issue Dec 15, 2013 · 3 comments
Open

Javascript on the purchase process is broken #9

liuggio opened this issue Dec 15, 2013 · 3 comments
Labels

Comments

@liuggio
Copy link
Member

liuggio commented Dec 15, 2013

cart Javascript is broken for a new BC :).

With the new API the response does not contain the object in the response content,
but into the location header is sent the URI
/cc @toretto460

@simodima
Copy link

Just tried the purchase process, all seems done. you could try to clear the browser cache (maybe you've an old cart_id within the local storage)

@liuggio
Copy link
Member Author

liuggio commented Dec 16, 2013

I meant not in website, in dev-master, I'm going to retry now

@katalisha
Copy link
Contributor

I've had this problem. The call to api_1_post_cart returns the headers but no data.
This breaks cart.js.
It works fine with the version of jquery in the sandbox (1.8) but not with later versions specifically 1.10 which I tested

katalisha added a commit to katalisha/leaphly-sandbox that referenced this issue May 27, 2014
Quick fix for later versions of jquery where an empty response throws a 'parseerror' and won't call the success callback.
Possible fix for leaphly#9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants