No PaymentProcessorName available
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"
)
Hi,
We are looking into this. I will get back to shortly with this information.
All the best,
Grace Hallwachs
the Telerik team
Hi, Daniel
I have replied to you on the support ticket.
Thanks for your patience.
Best regards,
Randy Hodge
the Telerik team