Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nonacc 63 posts 184 karma points
    Feb 25, 2013 @ 13:57
    Nonacc
    0

    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 ? :)

  • Rune Grønkjær 1372 posts 3103 karma points
    Feb 25, 2013 @ 14:16
    Rune Grønkjær
    0

    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

  • Nonacc 63 posts 184 karma points
    Feb 25, 2013 @ 16:04
    Nonacc
    0

    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>

  • Anders Burla 2560 posts 8256 karma points
    Feb 25, 2013 @ 17:47
    Anders Burla
    0

    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

  • Rune Grønkjær 1372 posts 3103 karma points
    Feb 25, 2013 @ 18:40
    Rune Grønkjær
    0

    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

  • Anders Burla 2560 posts 8256 karma points
    Feb 26, 2013 @ 23:48
    Anders Burla
    0

    Did we solve your problem?

    Kind regards
    Anders

  • Nonacc 63 posts 184 karma points
    Feb 27, 2013 @ 13:47
    Nonacc
    0

    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.. :)

  • Anders Burla 2560 posts 8256 karma points
    Feb 28, 2013 @ 17:20
    Anders Burla
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft