Check the Starter Kit cart step 2 to see how to use the UpdateOrderProperties form post.
It should look something like this: <inputname="UpdateOrderProperties"type="hidden"value="company,firstName,lastName,streetAddress,zipCode,city,phone,email,comments,shipping_firstName,shipping_lastName,shipping_streetAddress,shipping_zipCode,shipping_city"/>
Every commaseparated value in the input field should correspond to another form field with the same name. Otherwise it will fail, because it tries to find a field of the name "bla"
TeaCommerce not working with Https ?
Hi all,
I'm trying to work with SSL, all stages of purchase in https.
When entere the first page everything works as it should, but when I switch between pages I get the following error:
I think it's because the https, but not sure..
I noticed that the address of the page changes to "/tcbase/teacommerce/SubmitForm.aspx".
Although it should be changed to the address of the next page..
Please help ? :)
Hi Nonacc,
is the /tcbase/teacommerce/SubmitForm.aspx call not https also?
Looks like a null reference exception and not a https error. What call did you try to make?
/Rune
Hey Rune,
It happens on 'tcbasef' form submitting..
<form id="tcbasef" action="/tcbase/teacommerce/SubmitForm.aspx" method="post" teaajax="true">
<input name="UpdateOrderProperties" type="hidden" value="bla,bla,bla"/>
</form>
Hi Nonacc
Have you posted the value="bla,bla,bla" ? If yes - that is properly the cause as it tries to find some input fields with those id/name
Also what Tea Commerce do you use? And what Umbraco version?
Kind regards
Anders
Yep, that sounds very likely.
Check the Starter Kit cart step 2 to see how to use the UpdateOrderProperties form post.
It should look something like this:
<input name="UpdateOrderProperties" type="hidden" value="company,firstName,lastName,streetAddress,zipCode,city,phone,email,comments,shipping_firstName,shipping_lastName,shipping_streetAddress,shipping_zipCode,shipping_city" />
Every commaseparated value in the input field should correspond to another form field with the same name. Otherwise it will fail, because it tries to find a field of the name "bla"
/Rune
Did we solve your problem?
Kind regards
Anders
Lol i'm not trying to update "bla,bla,bla" fields, it is only for illustration.
I have a lot of code, I just tried to describe the situation..
I'm using umbraco v 4.7.2 (Assembly version: 1.0.4500.21031) and TeaCommerce (version: 1.4.4.2).
And no you not solve my problem.. :)
Yeah okay - it was just to be sure that you didnt pass in bla,bla,bla :)
Can you try and cut in your html/macro until it works and try and debug what exact line that does break the stuff.
Kind regards
Anders
is working on a reply...