Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Basil 33 posts 53 karma points
    Aug 28, 2012 @ 06:32
    Basil
    0

    Could not find the Payment with PaymentMethodName:''

     

     

    When i checked my servers event log, found lot of exceptons saying that 'Could not find the Payment with PaymentMethodName:''8', the details of the exceptions added below, anyone knows how this exception is happening and any solution for this?

     

     

    Event code: 3005

    Event message: An unhandled exception has occurred.

    Event time: 27/08/2012 02:08:55

    Event time (UTC): 27/08/2012 01:08:55

    Event ID: d24c6a6ba507462091804eaa769923b3

    Event sequence: 185095

    Event occurrence: 1326

    Event detail code: 0

     

     

    Process information:

        Process ID: 7736

        Process name: w3wp.exe

        Account name: IIS APPPOOL\MySite

     

    Exception information:

        Exception type: NullReferenceException

        Exception message: Could not find the Payment with PaymentMethodName: '8', and one of PaymentId: '467' or PaymentGuid: ''.

       at UCommerce.Transactions.Payments.UrlPaymentExtractor.Extract(HttpRequest httpRequest)

       at UCommerce.Transactions.Payments.ExternalPaymentMethodService.Extract(HttpRequest httpRequest)

       at UCommerce.Transactions.Payments.GenericPaymentHandler.Execute(HttpContext context, IPaymentWindow& paymentWindow, Payment& payment)

       at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     

     

    Request information:

        Request URL: http://www.mysite.com/8/467/PaymentProcessor.axd

        Request path: /8/467/PaymentProcessor.axd

        User host address: 195.170.169.18

        User: 

        Is authenticated: False

        Authentication Type: 

        Thread account name: IIS APPPOOL\MySite

     

    Thread information:

        Thread ID: 28

        Thread account name: IIS APPPOOL\MySite

        Is impersonating: False

        Stack trace:    at UCommerce.Transactions.Payments.UrlPaymentExtractor.Extract(HttpRequest httpRequest)

       at UCommerce.Transactions.Payments.ExternalPaymentMethodService.Extract(HttpRequest httpRequest)

       at UCommerce.Transactions.Payments.GenericPaymentHandler.Execute(HttpContext context, IPaymentWindow& paymentWindow, Payment& payment)

       at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     

    Custom event details:

     

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 29, 2012 @ 09:50
    Søren Spelling Lund
    0

    uCommerce tries to look up a given payment method by name or id. If the payment method you're using doesn't have id 8 that's the issue.

    Which provider are you using? Some provider require the callback URL to be set up manually in the backend. Maybe the config is out of sync with what uCommerce knows?

  • Basil 33 posts 53 karma points
    Aug 29, 2012 @ 15:29
    Basil
    0

    Hi Soren,

             We are using SagePay provider. We are seeing this exception as a warning in the event log.

     

    Best regards,

       Basil

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 04, 2012 @ 13:02
    Søren Spelling Lund
    0

    Do you have a payment method with ID "8" in the Payment Methods section?

  • Basil 33 posts 53 karma points
    Sep 04, 2012 @ 13:08
    Basil
    0

    Yes there is only one payment method named 'SagePay' and its ID is '8'

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 04, 2012 @ 13:14
    Søren Spelling Lund
    0

    Is there a payment with ID 467?

  • Basil 33 posts 53 karma points
    Sep 04, 2012 @ 13:28
    Basil
    0

    No there is no payment with ID 467.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 04, 2012 @ 15:11
    Søren Spelling Lund
    0
    Weird that SagePay is doing callbacks on non-existing payments. Might it be a simple matter of old callbacks being reissued or a mix-up between a development and production environment?
  • João Ferreira 19 posts 40 karma points
    Aug 28, 2013 @ 12:20
    João Ferreira
    0

    Good morning, I'm having this same issue. What have you done to solve it?

     

    Regards,

    João Ferreira

Please Sign in or register to post replies

Write your reply to:

Draft