Copied to clipboard

Flag this post as spam?

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


  • Gordon Saxby 1459 posts 1880 karma points
    Apr 20, 2012 @ 13:01
    Gordon Saxby
    0

    Error with Account payment type

    I am trying to setup an "on acount" order type, in the same way as in the demo site, but I am getting this error:

    [InvalidOperationException: Nullable object must have a value.]
       System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +52
       TeaCommerce.SessionController.get_CurrentOrder() +259
       TeaCommerce.Razor.TeaCommerce.GetOrder() +5
       Printed4uCMS.Masterpages.Site.SetupPage() +274
       Printed4uCMS.Masterpages.Site.Page_Load(Object sender, EventArgs e) +77
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +91
       System.Web.UI.Control.LoadRecursive() +74
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
    

    Any ideas what I am missing? This happens when going to the "Payment" step.

  • Rune Grønkjær 1372 posts 3103 karma points
    Apr 20, 2012 @ 13:06
    Rune Grønkjær
    0

    Hi Gordon,

    Have you set the new payment method on the country? And have you checked the countries on the "Available in these countries" tab?

    /Rune

  • Gordon Saxby 1459 posts 1880 karma points
    Apr 20, 2012 @ 13:17
    Gordon Saxby
    0

    Tea Commerce -> Settings -> Orders -> Payment Methods -> Account

    Common Tab - I have set the Continue URL and Cancel URL. Payment Provider = (Tea Commerce Default)

    Available in these countries Tab - selected 0% VAT, 0 payment fee

    Is there anything else that needs setting?

    Every time I try to make an order, it crashes and then I have to delete TC cookies to get the site to work again.

  • Rune Grønkjær 1372 posts 3103 karma points
    Apr 20, 2012 @ 13:20
    Rune Grønkjær
    0

    Hm. Sounds weird.

    How are you creating the order?
    Did you set a default payment method on the Contry?

    /Rune

  • Rune Grønkjær 1372 posts 3103 karma points
    Apr 20, 2012 @ 13:24
    Rune Grønkjær
    0

    Also make sure you actually have a default country, default currency and a default order status!

  • Gordon Saxby 1459 posts 1880 karma points
    Apr 20, 2012 @ 13:28
    Gordon Saxby
    0

    There are 2 payment methods - Credit Card and Account, Credit Card is set as the default.

    The order steps are pretty much a copy of those from your demo site.

    I don't have an order confirmation email setup yet - would that have any effect?

     

  • Gordon Saxby 1459 posts 1880 karma points
    Apr 20, 2012 @ 13:47
    Gordon Saxby
    0

    It seems to be a problem with the "Cookies" option - I have just turned "Use Cookies" off and the whole payment process works fine!?

    Any ideas? The cookie that seemed to cause the problem was "TeaCommerce_OrderId" (I think it was called that?!)

  • Anders Burla 2560 posts 8256 karma points
    Apr 23, 2012 @ 09:02
    Anders Burla
    0

    Hi Gordon

    Can you zip your website and send it our way so we can debug it? Just send it to info(at)teacommerce.dk

    Just tell us the steps to reproduce the error.

    Kind regards
    Anders

  • Gordon Saxby 1459 posts 1880 karma points
    Apr 23, 2012 @ 10:48
    Gordon Saxby
    0

    On its way :-)

  • Gordon Saxby 1459 posts 1880 karma points
    Apr 23, 2012 @ 10:49
    Gordon Saxby
    0

    Ah ... just got a delivery failure message back ... ?

  • Anders Burla 2560 posts 8256 karma points
    Apr 23, 2012 @ 10:50
    Anders Burla
    0

    How big is the zip file?

Please Sign in or register to post replies

Write your reply to:

Draft