No PaymentProcessorName available

Posted by Community Admin on 05-Aug-2018 12:37

No PaymentProcessorName available

All Replies

Posted by Community Admin on 03-Apr-2012 00:00

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

Posted by Community Admin on 06-Apr-2012 00:00

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

Posted by Community Admin on 07-Apr-2012 00:00

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

This thread is closed