Developer forum

Forum » Ecommerce - Standard features » AltaPay sends incorrectly formatted order lines

AltaPay sends incorrectly formatted order lines

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

We recently had an issue with AltaPay where it would send prices in the wrong format. It seems that the order's total and total tax are formatted in an InvariantCulture, but for order lines that doesn't seem to be the case:

This is how it's done for the order header:

And here are the order lines:

This calls ToString eventually but without the InvariantCulture formatting option. Can that be added for unitPrice and taxAmount in order, shipping fee and refund lines?

Note: this wasn't an issue before, but started cauing issues when we upgraded from 9.15 to 9.16.4.

Thanks!

Imar


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Sure, bug 16884, https://dev.azure.com/dynamicwebsoftware/Dynamicweb/_workitems/edit/16884

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

That was quick! But did you overlook the method AddRefundOrderLine?

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

I have no clue what you are talking about :-)

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Fixed. Tak!

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Imar

Bug #16884 on Altapay format prices towards culture

Now fixed in Dynamicweb version 9.16.6
Get this release from the download section https://doc.dynamicweb.dk/downloads/dynamicweb-9

Kind Regards
Dynamicweb Care Support
Kristian Kirkholt

 

You must be logged in to post in the forum