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 1461 posts 1883 karma points
    Aug 22, 2012 @ 13:50
    Gordon Saxby
    0

    Error displaying order in admin

    The following error is being displayed when trying to view an order in the Tea Commerce section:

     

     

     

    String was not recognized as a valid Boolean. 

     Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.            

     

     Exception Details: System.FormatException: String was not recognized as a valid Boolean.

     

    Source Error: 

     

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

     

    Stack Trace: 

     

    [FormatException: String was not recognized as a valid Boolean.]

       System.Boolean.Parse(String value) +9625202

       TeaCommerce.PaymentProviders.PayPal.InternalGetStatus(String transactionId, Dictionary`2 settings) +40

       TeaCommerce.PaymentProviders.PayPal.GetStatus(Order order, Dictionary`2 settings) +15

       TeaCommerce.Admin.Umbraco.plugins.TeaCommerce.Orders.EditOrder.<OnLoad>b__0(PaymentProvider paymentProvider, IPaymentProvider paymentProviderInstance) +97

       TeaCommerce.Admin.Umbraco.plugins.TeaCommerce.Orders.EditOrder.DoPaymentProviderAction(Func`3 callback) +158

       TeaCommerce.Admin.Umbraco.plugins.TeaCommerce.Orders.EditOrder.OnLoad(EventArgs e) +127

       System.Web.UI.Control.LoadRecursive() +74

       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

     

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

     

     

    Any ideas what is causing the error? How can I fix this particular order?

  • Anders Burla 2560 posts 8256 karma points
    Aug 22, 2012 @ 13:53
    Anders Burla
    0

    Hi Gordon

    Could you try and post your payment provider settings ( please click the edit button to show the alias and not the user friendly name )

    Which Umbraco and Tea Commerce version do you have installed?

    Kind regards
    Anders

  • Gordon Saxby 1461 posts 1883 karma points
    Aug 22, 2012 @ 14:06
    Gordon Saxby
    0

    Umbraco 4.7.1.1 and Tea Commerce 1.4.3.1

    Umm, which settings do you need to see?

  • Anders Burla 2560 posts 8256 karma points
    Aug 22, 2012 @ 14:10
    Anders Burla
    0

    The ones for the creditcard/paypal payment method.

  • Gordon Saxby 1461 posts 1883 karma points
    Aug 22, 2012 @ 14:20
    Gordon Saxby
    0

    There's not much to show:

  • Gordon Saxby 1461 posts 1883 karma points
    Aug 22, 2012 @ 14:37
    Gordon Saxby
    0

    I've tried looking in the database for anything that looks odd ... but nothing obviously does!?

    What does "TeaCommerce.PaymentProviders.PayPal.InternalGetStatus" do / where does it get it's information?

  • Anders Burla 2560 posts 8256 karma points
    Aug 22, 2012 @ 14:53
    Anders Burla
    0

    Did you get my email? Unzip the dll and replace it at the website and see if it fixes the problem. The get status is called when you view an order to get the latest payment details for the order

  • Gordon Saxby 1461 posts 1883 karma points
    Aug 22, 2012 @ 14:56
    Gordon Saxby
    0

    FANTASTIC!!! 

    That has solved the problem :-)

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

    I have the same problem.... is there any fix?

  • Anders Burla 2560 posts 8256 karma points
    Nov 12, 2012 @ 14:07
    Anders Burla
    0

    Hi Spyros

    Your problem is related to http://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/36070-Paypal-problem-with-redirect-back-to-site

    This is because the GetStatus method is called and property because your settings isnt correct - it will fail. So try and solve the other problem first. If that doesn't fix it - try update Tea Commerce to the latest version.

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

    I have solved that and created a new order but i have the same problem....!!! The redirect now works just fine...

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

    Also the paypal orders that have not been confirmed and have the payment status to Initial (as shown on the search list) are displayed correctly ... only those with status Captured are not visible from the backend.

     

     

  • Anders Burla 2560 posts 8256 karma points
    Nov 12, 2012 @ 16:54
    Anders Burla
    0

    Have you updated to Tea Commerce 1.4.4.0?

  • Spyros Spyriadis 46 posts 70 karma points
    Nov 13, 2012 @ 11:06
    Spyros Spyriadis
    0

    No I have 1.4.3.2 .... do I just upload the .bin files or do i have to reinstall the whole package? Will I lose all the modifications i have done on xslt and js!?!?

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

    You just install the Tea Commerce package as normal on top of the old one. We merge settings files, and we don't touch your xslt or javascript files. We only update the teaCommerce.js and the uncompressed file.

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft