Copied to clipboard

Flag this post as spam?

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


  • Chris Knowles 141 posts 222 karma points
    Jun 17, 2013 @ 14:26
    Chris Knowles
    0

    String was not recognized as a valid Boolean

    Hi,

    When i try and view an order in v1.4.3.1 i get the following error:

    Server Error in '/' Application.

    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) +96
       TeaCommerce.Admin.Umbraco.plugins.TeaCommerce.Orders.EditOrder.DoPaymentProviderAction(Func`3 callback) +156
       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 why i'd be getting this? 

    Any help would be appreciated.

    Thanks

    Chris

  • Anders Burla 2560 posts 8256 karma points
    Jun 17, 2013 @ 14:36
    Anders Burla
    0

    Hi Chris

    Looks like PayPal may have changed their API or  the data that they send. If you try and download the source code for the payment providers (branch 1.x). https://bitbucket.org/teasolutions/tea-commerce-tea-commerce-payment-providers

    Then insert some debug code or attach the debugger if you run it locally. Hope that helps you.

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft