Developer forum

Forum » Integration » Integration customer center - RequestExternalPdf issue

Integration customer center - RequestExternalPdf issue

Ricardo Pereira
Ricardo Pereira
Reply

Hi,

I'm using the Customer Center Integration app to list the invoices, but I can't get the PDF of the invoice. The handler is responding with a 200 status code, but no PDF is shown.
The handler is being called like this: /Admin/public/CustomerCenter/RequestExternalPdf.aspx?type=Invoice&id=xxx

This was working on an earlier version of DW: 9.9.6

Has anyone run into this issue?

DW version: 9.10.7
Rapido version: 3.4.3
Live integration version: 1.2.0.12_NAV14.21.46103


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
Hi Ricardo, What is your live integration version? Is it custom or standard shipped with Dynamicweb? BR, Dmitrij
 
Ricardo Pereira
Ricardo Pereira
Reply

Hi Dmitriy,

The version used is 1.2.0.12_NAV14.21.46103, and it is a standard integration.

BR,
Ricardo P.

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Ricardo,
your response doesn't fully answers my question :) I was asking about the Live integration package version.
The problem can be that you are using a bit old that contains a breaking change so it doesn't fully works with 9.10 Customer center pdf feature.
Can you try to look and update the Dynamicweb.Ecommerce.DynamicwebLiveIntegration package to the last one from here?
If you are using the separate Live integration dll downloaded some time ago from the doc site try to check if you are using the last one:
4.0.0 from this list.
BR, Dmitrij

 
Søren Jakobsen
Reply

Hi Ricardo,

I have had the same issue and fixed it by adding the shopid to the request:

Href = "/Admin/public/CustomerCenter/RequestExternalPdf.aspx?type=Invoice&id=" + orderId + "&forceDownload=true&shopid=" + shopId,

br Søren

 
Ricardo Pereira
Ricardo Pereira
Reply

Hi,

Thank you, Dmitriy and Søren.

I have updated the Dynamicweb.Ecommerce.DynamicwebLiveIntegration package to the last one, and it is working now with the "&shopid=".

However the Live Price, on product lists and product detail, is not working as intended right now. The live price is showing correcly for normal products, but combined products (products combined into a family) are showing a wrong price. For instance:
From the live integration we are receiving <column columnName="ProductPrice"><![CDATA[3,805]]></column>, but on the front-end is showing "kr 3,8" instead of "kr 3.805,00".
If we add this product to the cart, the price is being shown correctly there. So, the issue is only on the product list and product detail.
This was working correctly with the old version of the Live Integration.
Has anyone run into this issue?

BR,
Ricardo P.

 
Søren Jakobsen
Reply

Hi Ricardo,

have you tried changing the "Number format culture" setting on Integration Framework Live?

 

best regards

Søren

 
Ricardo Pereira
Ricardo Pereira
Reply

Hi Søren,

This option is well configured:

Looks like the Live Price is not working at all. It is looking into the DB price and not the live price. This only happens on variants or combined products as a family.

 

UPDATE:
The Default (primary) variant shows the correct price from LI, but all the other variants are showing the DB Price.
Can this be a LI issue? I have updated the Dynamicweb.Ecommerce.DynamicwebLiveIntegration package to version 6.0.11.

BR,
Ricardo P.

 

You must be logged in to post in the forum