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.

  • Chris 34 posts 134 karma points
    Jun 04, 2015 @ 11:27
    Chris
    0

    Set SagePay payment description

    When redirecting to SagePay the Payment Description is set to "Sum". Is it possible to override this value, to something like an order number or a more user friendly message?

    Thanks

  • Thomas 30 posts 163 karma points
    Jun 12, 2015 @ 11:06
    Thomas
    100

    Hey Chris

    It depends on what version of ucommerce you're using.

    In the newer versions of uCommerce the SagePayPaymentMethodService will have a method called AddParameters()

    So one way to solve the problem would be to make a new PaymentMethodService and inherit SagePayPaymentMethodService and then override the AddParameters() method, so it first calls the AddParameters() method on the base and then modify the dictionary.

    Finally you will need to register the new PaymentMethodService in custom.config with the same id as the SagePayPaymentMethodService. Here is a link to our documentation on how to register custom components.

    Kind regards

    Thomas Arvidsen

Please Sign in or register to post replies

Write your reply to:

Draft