Services Plugins FAQs

PDF Converter not working

Hi I read all the directions and forums and i cant get this plugin to work.

I want the user to click a button to confirm an order. That button needs to create a pdf and an order. My app was completely functional before this plugin. Now nothing is working. Is there some basic directions im missing?

Hello, @tmurphy0270. Thanks for reaching out.

Creating a button and adding the “ConverttoPDF” action is quite simple. But it also can vary depending on your use case and its complicity. The standard plugin use cases you can find and replicate on our plugin demo editor page:

For example, if you need only to create an order (new database table record with some fields) and the PDF file of this order (for example, a pop-up form with some fields), the workflow sequence might be the following:
Button “Confirm the order” is clicked

  1. action - create new order; 2. action - ConverttoPDF; 3. action - hide the Order popup.

Please pay attention to the plugin setup. If you are using the latest version (1.38) - you should use the new plugin element (v 2.0), and if you are using versions older than 1.27 - please use the old plugin element (legacy). Failure to comply with these conditions may lead to incorrect operation of the plugin.

Also please be sure your ConverttoPDF action setup is correct. For converting a popup with a single page, I recommend using the Convert Target: single element - Screenshot by Lightshot
Place the popup ID into the ID field to point the plugin which element you want to convert to PDF - Screenshot by Lightshot
Choose the page orientation in the Orientation drop-down - Screenshot by Lightshot
Make sure the checkbox Autosave PDF is enabled - Screenshot by Lightshot
Choose the Format: Custom format and indicate the popup width/height in the Custom format field - Screenshot by Lightshot

In a case, if you have some more details on the issue you are facing like error messages, console screenshots, etc - please provide it to me. It can help me investigate and understand your problem. The more details I receive from you - the more chances I can help.

Thank you and take care.

Hi Kate,

Thanks for reaching out.

I guess my problem is that I cant save the PDF in the database. Do you save the PDF as a url or a file? Im trying both and im getting nothing.

@tmurphy0270,

We do both. For triggering the “create a new thing” action, you can use 3 events:

  1. custom event “Do when the condition is true” - a new record in the database will be created each time the condition is true Screenshot by Lightshot
  2. plugin event “Converter PDF Converting is finished” - a new record in the database will be created each time the plugin finishes converting the page to PDF Screenshot by Lightshot
  3. plugin event “Converter PDF uploading to AWS is finished” - a new record in the database will be created each time the plugin finishes upload the converted file to the bubble’s AWS (the Uploadfileto AWS checkbox should be activated Screenshot by Lightshot) Screenshot by Lightshot

I’ve tested all 3 events and all of them are working ok. To see the 1st event setup you can on our demo page:

I hope it helps.

Is it not working for me because i dont have AWS connected to my app?

I did everything you said and im still not getting an output file/url

@tmurphy0270,

No, Bubble editor uses the AWS server for saving your data (App Data/File Manager), so it should work not depending on if you have/have not used some additional AWS uploader plugin/API call.

Can you please add our support@zeroqode.com email as a collaborator of your app so I’ll check and test your plugin setup and try to reproduce your issue? Because on our end everything is up and running well.

You can add the support account as a collaborator even if your app plan is Hobby.

Please indicate the page where you have the target element and the steps to reproduce your issue.
Regards,

I have no idea how to add you as support and im not too comfortable with that. If you want to facetime me my number is 2673097317

@tmurphy0270,

To add somebody as a collaborator is possible via the Settings tab in editor, section “Collaborators”.
That’s sad. Okay, we have another way - please share with me the screenshots of:

  • element you want to convert to PDF to see it’s ID value and w/h parameters;
  • plugin event and action that triggers a convert to PDF process - to see the ConverttoPDF setup;
  • plugin event that triggers the creating of a new thing in your database;
  • database table parameters to see what data type your table has;
  • short video record of reproducing your issue with enabled debugger and browser console to catch possible errors, if they are;
  • tell what plugin element and version you are using (old/new plugin element);
  • tell what devise, OS, and browser (version) you were using, while reproducing the error you have reported.

This information will help me understand your plugin setup and find the probable root causes of your problem, while the issue you have described is not reproducing on our side.

Unfortunately, our Support team does not provide support by call/skype/facetime/etc. Apologies for the inconvenience.

For the screen video recording, I can recommend use Loom. Thank you.
Regards,

It is also the newest version of the plugin, bought it a couple days ago.

@tmurphy0270,

Thanks a lot for the details! Let me please investigate them and after I finish the investigation - I get back to you with some insights.

Regards,

1 Like

@tmurphy0270,

From the video you’ve shared, I can tell that your setup seems to be correct. Both - convert to PDF action and saving the PDF file/URL. I have a few more questions if you don’t mind:

  1. do you actually get the result file after you click the “Confirm Purchase” button?
  2. can you please show me the records in the browser console when you are clicking the “Confirm Purchase” button?

If you want to make the process go faster, you can add our support team as a collaborator so I check everything by myself and let you know what you should have done to make the plugin work (save the PDF file to the DB), or inform you about the issue which was preventing the plugin from normal work.

Regards,

Hi Kate,

I just added your email as a collaborator.

@tmurphy0270,

Great! Will check it now. Give me a bit of time please…

Regards,

1 Like

@tmurphy0270,

Please check the test page I’ve created - zq_test:

Everything works well within your page. The PDF file/URL is saving correctly into your database. If you recreate the same workflows as I on your page where this functionality is needed - it should work.

Instead of “click the text to get the PDF file” event, you can use “when the popup is visible/shown”, so your PO will be converted to PDF once the popup appears on the page.

Tell me if there is anything else I can help you with.
Regards,

Okay thanks Kate, Ill try to make it work and ill let you know how it goes.

1 Like

I surmise my concern is that I cannot save the PDF in the information base. Do you save the PDF as a URL or a record? I’m attempting this from here and I’m getting nothing! Can you try?

Hello, @davsonrock!

Thanks for reaching out to us!

To make the plugin work there is necessary to place its element on the page of your application, which you want to convert. Then create all the necessary workflows as shown in our demo. For sure we recommend you read the documentation firstly in order to better understand how the plugin works.

For saving files the plugin has the following functions: save the file in a File Manager or on your computer. There is also a function of saving URLs.




Unfortunately at the moment, the plugin has a small issue, but this question is already under investigation by our developers. When the issue is resolved we will let you know.

If you have any other questions please let us know.
Regards,