Copied to clipboard

Flag this post as spam?

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


  • Morten 20 posts 61 karma points
    Dec 18, 2012 @ 12:45
    Morten
    0

    server error 500 on /base/teacommerce/GeneratePaymentForm.aspx

    Hi

    Im getting this error

    stacktrace:

    <error><![CDATA[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 Umbraco.Web.BaseRest.RestExtensionMethodInfo.Invoke(String[] parameters)
    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.PaymentProviders.DIBS.GenerateForm(Order order, String teaCommerceContinueUrl, String teaCommerceCancelUrl, String teaCommerceCallBackUrl, Dictionary`2 settings)
       at TeaCommerce.Base.GeneratePaymentForm(String submitInput)
       at TeaCommerce.Base.GeneratePaymentForm()]]></error>

     

     

    i followed the guide form this setup

    http://anders.burla.dk/umbraco/tea-commerce/using-dibs-with-tea-commerce/

     

    as im using DIBS

     

    javascript that calls the gotopayment is shown here:

     

    TeaCommerce.setPaymentMethod(1, {
                async: true,
                successfn: function () {
                    TeaCommerce.goToPayment();
                },
                errorfn: function () {
                    alert("Der opstod en fejl");
                }
            });

     

     

     

     

  • Morten 20 posts 61 karma points
    Dec 18, 2012 @ 14:42
    Morten
    0

    oh well, it seemse i had created the parameteres for the provider wrong, remember to look for the documentations page name calling.

  • Anders Burla 2560 posts 8256 karma points
    Dec 18, 2012 @ 17:32
    Anders Burla
    0

    Glad you got it working :)

    Kind regards
    Anders

  • Morten 20 posts 61 karma points
    Dec 18, 2012 @ 18:45
    Morten
    0

    well another question comes then.

     

    dibs gets the payment and registreres it but, transactionid aand cardtype is not set on the order in teacommerce?

  • Anders Burla 2560 posts 8256 karma points
    Dec 18, 2012 @ 19:27
    Anders Burla
    0

    Send us an email on [email protected] - there is a bug in the curretn DIBS provider. We will send you an updated dll file

Please Sign in or register to post replies

Write your reply to:

Draft