Hi
We have a customer who uses Afterpay as one of the paymentmethods with Ogone as provider.
It works great, the only problem is that Afterpay has a conflict with productnames above 40 characters.
I have tried to shorten the productname in the cart with the Cart Notificationsubscriber, but it seems it's to ignore my shortened name.
This is what I've tried:
For Each ol As Orders.OrderLine In curOrder.OrderLines If ol.ProductName.Length > 39 Then Dim shortName As String = Left(ol.ProductName, 36) & "..." ol.ProductName = shortName ol.Save() End If Next curOrder.OrderLines.Save(curOrder.ID) curOrder.Save() Dynamicweb.eCommerce.Frontend.Cart.CartCatch.SaveCart()
Is there another way to shorten the name?
Gr
Martijn