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.

  • Fabio Milheiro 74 posts 136 karma points
    Nov 05, 2012 @ 17:19
    Fabio Milheiro
    0

    SagePay 5006 error

    I am getting the following error from sagepay when trying to make a payment (test mode).

    Unable to redirect to Vendor's web site. The Vendor failed to provide a RedirectionURL

    When looking at the sites's errors, we can see the following:

    Method not found: 'Int32 UCommerce.EntitiesV2.Payment.get_PaymentStatusId()'. Void ProcessCallback(UCommerce.EntitiesV2.Payment) at UCommerce.PaymentProviders.SagePayLP.SagePayExternalPaymentMethodService.ProcessCallback(Payment payment) at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)

    What?!

    I used ILSpy to reflect the binaries back to C# code and we can see that there's a PaymentStatus property with a getter and setter but, as the error clearly says, there's no PaymentStatusId property with a getter.

    How can this happen? And please how can I solve this issue?

    PS: I am using a SagePay provider to display the payment form inside an iframe (UCommerce.PaymentProviders.SagePayLP.dll).

    Thanks,

    Fabio

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 09, 2012 @ 12:04
    Søren Spelling Lund
    0

    Looks like your payment provider is compiled against uCommerce 2, but is running on a uCommerce 3 setup.

    The PaymentStatusId property was replaced in uCommerce 3 with Payment.PaymentStatus.PaymentStatusId (as per the release note).

    You can fix this to update the payment provider code to use the uCommerce 3 DLLs and change the code from:

    "payment.PaymentStatusId" to "payment.PaymentStatus.PaymentStatusId" .

    Sorry about the inconvenience.

Please Sign in or register to post replies

Write your reply to:

Draft