Copied to clipboard

Flag this post as spam?

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


  • Spyros Spyriadis 46 posts 70 karma points
    Nov 12, 2012 @ 12:52
    Spyros Spyriadis
    0

    Paypal problem with redirect back to site

    When redirected back to the site after paying with paypal I get the error below:

    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.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 TeaCommerce.PaymentProviders.PayPal.GetContinueUrl(Dictionary`2 settings)
    at TeaCommerce.Base.PaymentContinue(String alias, String encryptedOrderId)

    Any ideas? Below are the keys I have used in the payment method generated by the load standard settings button:

    Product number property alias
    productCode
    Product name property alias
    nodeTitle
    Shipping method format string
    Shipping fee ({0})
    Payment method format string
    Payment fee ({0})
    API username
    paypal_api1.......com
    API password
    .........
    API signature
    ........
    Testing
    1 = true; 0 = false
    0
    charset
    UTF-8
    PayPal account e-mail
    Payment action
    authorization

  • Anders Burla 2560 posts 8256 karma points
    Nov 12, 2012 @ 13:09
    Anders Burla
    0

    You miss the "return" key - that is the accept url for paypal. you also miss "cancel_return". Try load the default settings (remember to have a copy of your settings first as it will be replaced by the default setings)

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft