Copied to clipboard

Flag this post as spam?

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


  • raluca haragus 6 posts 25 karma points
    Oct 06, 2011 @ 16:12
    raluca haragus
    0

    Error on order complete

    hello guys,

    I have a really nasty error when completing an order.

    <error>MESSAGE:
    Exception has been thrown by the target of an invocation.

    STACKTRACE:
       at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at TeaCommerce.Presentation.TeaCommerceBase.RequestModule.invokeMethod(restExtension myExtension, Object[] paras)

    INNEREXCEPTION:
    System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at TeaCommerce.Data.Payment.DefaultPaymentProvider.GetContinueUrl(Dictionary`2 settings)
       at TeaCommerce.Base.PaymentContinue(String alias, String encryptedOrderId)</error>

    As you can see, I have an issue with the "acceptUrl" key not being found.

    Now, on the payment screen for the Credit card payment type I have set up my url correctly:

    Is there anywhere else where i should have set that up?

    Thank you.

     

     

  • Rune Grønkjær 1372 posts 3103 karma points
    Oct 06, 2011 @ 16:14
    Rune Grønkjær
    0

    Hi Raluca,

    What version of Tea Commerce are you running. I believe we had a bug like that a couple of releases ago.

    /Rune

  • raluca haragus 6 posts 25 karma points
    Oct 06, 2011 @ 16:18
    raluca haragus
    0

    Wow, that was fast.

    My version of TeaCommerce is Tea-Commerce-1.4.1.0-for-.NET-4

  • Rune Grønkjær 1372 posts 3103 karma points
    Oct 06, 2011 @ 16:21
    Rune Grønkjær
    0

    Yep, please try and update to the latest version. I think we fixed it in 1.4.1.1.

    Just download the package and install it. It will upgrade with no problems.

    /Rune

  • raluca haragus 6 posts 25 karma points
    Oct 06, 2011 @ 16:41
    raluca haragus
    0

    Hello Rune,

    Unfortunately, updating TeaCommerce did not solve my problem. Is this acceptUrl set in any config file?

    Thank you for your help

     

  • Rune Grønkjær 1372 posts 3103 karma points
    Oct 06, 2011 @ 16:49
    Rune Grønkjær
    0

    Hi Raluca,

    Please check your payment providers, to see if the acceptUrl is correct. You do that in the Tea Commerce section. The acceptUrl must be the full url to the confirmation page. In our new starterkit the url is: http://starterkit.teacommerce.dk/en/cart/confirmation.aspx.

    /Rune

  • raluca haragus 6 posts 25 karma points
    Oct 07, 2011 @ 09:10
    raluca haragus
    0

    Hello Rune,

    This is lifted directly form the database, so my acceptUrl and declineUrl are indeed set up.

    79    2    0    acceptURL    http://localhost:64332/de/teacommerce/cart/order-confirmation/
    80    2    0    declineURL    http://localhost:64332/de/teacommerce/cart/payment-error/
    81    1    0    acceptURL    http://localhost:64332/de/teacommerce/cart/order-confirmation/
    82    1    0    declineURL    http://localhost:64332/de/teacommerce/cart/payment-error/

    Thank you for your time.

     

     

  • raluca haragus 6 posts 25 karma points
    Oct 07, 2011 @ 10:00
    raluca haragus
    0

    Ok, it was my mistake.

    Due to the fact that we have umbraco under TFS we have set up a special folder where we keep the dlls that we reference. So i had forgot to override those dlls with the new dlls of tea commerce.

    Now evertything works all right, thank you very much.

     

     

  • Rune Grønkjær 1372 posts 3103 karma points
    Oct 11, 2011 @ 18:12
    Rune Grønkjær
    0

    Aah, cool. That can happen :)

    /Rune

  • Anders Burla 2560 posts 8256 karma points
    Oct 20, 2011 @ 14:44
    Anders Burla
    0

    Hi Raluca

    Is it possible to mark your own post as the answer - just to help others to quickly find the solution for this problem :)

    Kind regards
    Anders

  • raluca haragus 6 posts 25 karma points
    Oct 20, 2011 @ 16:37
    raluca haragus
    0

    Hello Anders,

    I've marked my reply, but it was really Rune's answer that did the trick.

    Cheers,

    Raluca

Please Sign in or register to post replies

Write your reply to:

Draft