attach pdf into SupportCandy ticket

Gravity Forms
24 June, 2021 07:37:38
puntocaf
Topics: 1
Messages: 1
Hi all
Here my scenario: my GravityForm module populates a pdf and open a ticket in SupportCandy . The pdf is then attached (and linked for download) in the notification email to customer and admin via shortcode.

Is there a way to insert the pdf into the SupportCandy ticket (or a link to download)? the shortcode into an hidden field into the form (then in the ticket) does not work.
(The files uploaded with the form are correctly included into the ticket).

thanks a lot
24 June, 2021 09:13:15
E2Pdf
Support
Topics: 7
Messages: 3156
Hi,

Unfortunately E2Pdf doesn't support this feature at this moment, however you must be able to extend functionality via hook.

Here is example code which must be added to functions.php: https://codeshare.io/RbmEEB

* We added some comments so you can change needed values as template_id, form_id, field_id.

It will update value for submitted entry with link to PDF. Unfortunately we do not have access to "SupportCandy" premium version (as we understand you are using it) to test directly, however it must work if SupportCandy integration work along with other notifications.

If it will not work, attach please "SupportCandy" with GravityForms extension to next message so we can debug the code and check if there are other ways to accomplish the task. You can mark message "Private" so only we can see the message.

We remain at your service.
We would really appreciate your feedback at WordPress.org!