Hi,
We are trying to create a cart that can be submitted by AJAX, with no luck (assuming due to the security checks - step validations and so forth)
Is there any way we can do this? Any "hidden" feature?
Nuno
Hi,
We are trying to create a cart that can be submitted by AJAX, with no luck (assuming due to the security checks - step validations and so forth)
Is there any way we can do this? Any "hidden" feature?
Nuno
What does it mean - being submitted by Ajax.
The final checkout, each step in the checkout or adding to cart?
BR Nicolai
Hi Nicolai,
Submitted by ajax, from the customer/order information to the payment methods. After selecting the payment methods works fine.
Whit and Without the following input hidden
<form name="ordersubmit" class="DMForms" id="customerInfo" method="post" action="Default.aspx?id=<!--@Global:Page.ID-->"> <input type="hidden" name="<!--@CartV2.NextStepButtonName-->" value="submit" />
Nuno
What does fiddler says on that post?
Probably a redirect occurs.
BR Nicolai
Hi Nicolai,
Yes, in fact a 391 redirect happens. How can we go around it?
We submited to a /Default.aspx?ID=X page, and the redirect happens to the Personalized URL (if that matters)
Nuno
Hi Nicolai,
We found the problem. An issue with caching and IE8 (graceful degredation) was not working properly, so it ran a 2nd ajax call, triggering a redirect to another page, triggering an error.
Fixed, and working properly.
Thanks,
Nuno
You must be logged in to post in the forum