+1-888-365-2779
Try Now
More in this section

Forums / Ecommerce / No PaymentProcessorName available

No PaymentProcessorName available

3 posts, 0 answered
  1. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    03 Apr 2012
    Link to this post
    Hi all,

    Since we cannot use the PaymentProvider model to create providers that allow the visitor to navigate out of the webshop for doing payments, I have to come up with another way of implementing the dutch IDEAL.

    For now I just created an offline payment method, so when someone 'places an order', it redirects to a new page where they can do an IDEAL payment.

    Since I have 2 offline payment methods, I have to figure out if the visitor has chosen IDEAL or another method.
    I thought that did would be possible to look up the Payments for an Order and check the name of the Payment, but that property is empty.

    Guid orderId;
    Guid.TryParse(Request.Url.Segments[5], out orderId);
     
    // Get the order
    var order = OrdersManager.GetManager().GetOrder(orderId);
    if (order.Payments.Count > 0) {
       OrderPayment p = order.Payments[0];
       if (p.PaymentProcessorName == "IDEAL") { }
    }

    The PaymentProcessorName is empty, or to be exactly, it is: " ".

    How can I figure out which method was choosen?

    Thanks,
    Daniel
  2. Grace Hallwachs
    Grace Hallwachs avatar
    144 posts
    Registered:
    03 Nov 2014
    06 Apr 2012
    Link to this post
    Hi,

    We are looking into this. I will get back to shortly with this information.

    All the best,
    Grace Hallwachs
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Randy Hodge
    Randy Hodge avatar
    96 posts
    Registered:
    03 Nov 2014
    07 Apr 2012
    Link to this post
    Hi, Daniel

    I have replied to you on the support ticket.

    Thanks for your patience.


    Best regards,
    Randy Hodge
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
3 posts, 0 answered