We are using maestro. When imported the form to TM we see 'Receipt Render Error' at 'DashBoard - Latest Transactions section'. Is there any solution for this?
in error log the solution is given to increase timeout.. where exactly to increase the timeout?
Fallback Timeout=40000 ms
ApplicationException: Phantom JSRender Receipt Service Error: Receipt Render Error
You can see the parameters for a Transact Manager service in its Parameters tab. This screenshot is from the Dynamic PDF Receipt service, but there should be a similar one for the Phantom JS service. The parameter name may be different.
It looks like your Phantom JS service is called 'Dynamic PDF Receipt', which is the default name when you add a new Render Receipt service.
Unknown User (bfrost) Hi Bill, we already select the largest value in the list, but still got timeout error.
What version of TM are you using?
Does it have the 'Dynamic PDF Receipt 2' service template available?
Hi Bill, our TM version is : Transact Manager 5.1.2, Build Number F718301
There is no Dynamic PDF Receipt 2 service template. "Dynamic PDF Receipt 2" is for Meastro form PDF receipt generation?
I am having the same issue with a Maestro form (17.10) published to TM 5.1.10.
Interesting observation: when I overwrote the Maestro version with a Composer form archive, the receipt render errors resolved and delivery completed for the previous submissions of the Maestro form.
But as soon as I published the Maestro form again (either as a form archive or just by updating the FAR file), new submissions had the same error again.
Looks like our error was caused by a circular reference causing a time out.
But we just can set max to 30s, we still got the timeout issue. It doesn't have any problem for Composer form.
I got the same issue despite having increased the "processTimeout" to the maximum value. (30 secs)
The following screenshot shows the templates available on my on-premises installation
The Maestro Form is from the 17.10.0 release
The following is the error taken from the log. The process timeout parameter does not change despite having ahcnged the parameter, rebooting the txmanager service and so on
5:34:11,465 ERROR [com.avoka.fc.core.service.ErrorLogService] (pool-6-thread-1) Name = Phantom JSRender Receipt Service Error15:34:11,465 ERROR [com.avoka.fc.core.service.ErrorLogService] (pool-6-thread-1) Context = completed=false,htmlFilePath=/data/avoka/transact/manager/work/phantomjs/delivery/5935-103/form.html,programFolder=/data/avoka/transact/manager/phantomjs,programPath=/data/avoka/transact/manager/phantomjs/phantomjs,controlFilePath=/data/avoka/transact/manager/phantomjs/rasterize.js,htmlPath=/data/avoka/transact/manager/work/phantomjs/delivery/5935-103/form.html,pdfPath=/data/avoka/transact/manager/work/phantomjs/delivery/5935-103/receipt.pdf,pageSizeFormat=A4,pageSizeMargin=0.5cm,pageZoomFactor=0.8,processTimeout=20000 ms,Submission.ID=5935,Form.Code=ANVMGU,Form.Name=FormTest,Form.Version=1.0.1,Organization=OrgTest,Fallback Timeout=40000 ms
I tried to search on the server intself for xml configurations or phantomjs configuration files but I couldn't find anything.
Any help would be much appreicated!!
Try with the v2 receipt service:
Many thanks for your answer and assitance.
I don't have the v2 installed on my TM on-premises server. I tried to create one in "https://maestro.avoka.eu/manager", export it and import it back to my local server but this also prompted a bunch of errors in the log as it doesn't seem to be installed.
Is there any other feature needed that I might not be aware of?
Thanks again Bill.
Unknown User (bfrost)Just to shed some light, I managed to make it work by replacing all percentage fields by decimal types. The form now renders altought the result is somewhat faulty (text overlap, faulty field arrangement).
I'm trying ot put together my own receipt via a custom groovy render receipt form. It seems to work altough the receipt is not available through the portal, just in the TM.
I noticed when using the receipt link URL for a particular submission (i.e https://<your_portal_url>/secure/servlet/FormReceipt.pdf?submitKey=<your_sbumission_key>&renderMode=file#zoom=100) the system prompts an authorization error.
How can I then grant access to the receipt in the groovy code to the user who is processing the submission?
Thanks and Kind Regards
Unknown User (bfrost) Hi Bill, we got the same error, but we can't find Phantom JS service in TM. What is the full service name?