crater icon indicating copy to clipboard operation
crater copied to clipboard

Invoice PDF Link returns customers without portal to login page instead of the invoice pdf

Open Pazekal90 opened this issue 2 years ago • 11 comments

Describe the bug Invoice PDF Link returns customers without portal to login page instead of the invoice pdf. The customer has NOT an active portal and the corresponding flag in customer administration is turned off. But nevertheless the user is not getting the pdf by clicking the button in the mail. Instead he is forwarded to the login page. :/

Also have unchecked the "expire" function for invoices. Same result. Forwarded to login page.

Pazekal90 avatar Mar 02 '22 19:03 Pazekal90

Hey, are you talking about the invoice link field or the view invoice button which exists by default on the email template.

mohitpanjwani avatar Mar 03 '22 02:03 mohitpanjwani

@Pazekal90 Can you please upgrade to latest 6.0.5 and check if you can reproduce the issue?

Thanks for the feedback so far.

mohitpanjwani avatar Mar 03 '22 17:03 mohitpanjwani

@mohitpanjwani Ihm Talking about the static button in mails and the "pdf link" generated by me in the admin interface. image

Already installed 6.0.5 and retested. Problem still present. Sorry :/

Pazekal90 avatar Mar 03 '22 18:03 Pazekal90

@mohitpanjwani Ihm Talking about the static button in mails and the "pdf link" generated by me in the admin interface. image

Already installed 6.0.5 and retested. Problem still present. Sorry :/

The pdf link no longer works without authentication but button link on emails should work 😅.

Never-mind I’ll see if we can reproduce this tomorrow on my end.

mohitpanjwani avatar Mar 03 '22 18:03 mohitpanjwani

ah ok.. But i checked it now twice again. The link in the mails does not work without auth. Checked this button at the bottom of my mails.

image

Pazekal90 avatar Mar 03 '22 20:03 Pazekal90

@mohitpanjwani Have you already checked this issue? I can't send Invoices to my customers at the moment. Because they can't view them.

Pazekal90 avatar Mar 08 '22 19:03 Pazekal90

@mohitpanjwani Tested a little. The problem is that the preview of the link does not work only. After i sent the mail the link is correct. That is the problem.

Pazekal90 avatar Mar 08 '22 19:03 Pazekal90

@mohitpanjwani This is an urgent issue for us too. None of my clients can view their public PDF links after updating to 6.0.6! Is it possible to introduce a setting so that the user can choose whether to allow these links to be public?

prohtex avatar May 17 '22 01:05 prohtex

@mohitpanjwani I am also having this issue after upgrading. In the past we sent out thousands and thousands of emails with PDF links in them and we need these legacy links to continue to work. I understand that there's new functionality, and that the preferred method for the user to view a public PDF is to use the token generated in email_logs. I understand why-this enables the admin to expire these tokens, and adds extra security. But this should be the admin's choice. It is not possible in every case to require the user to use a portal with authentication. We also send PDF links constantly with text messages and other platforms. PLEASE add an option for the PDF links to be public!

profiteroles1 avatar May 17 '22 02:05 profiteroles1

Experiencing this issue as well and it has been over a year since the last comment; is there any progress on this?

C-Blais avatar Aug 07 '23 16:08 C-Blais

Experiencing this issue as well and it has been over a year since the last comment; is there any progress on this?

I forget where but there's a quick change you can make to the codebase to fix. We just ended up forking our install and applied dozens of patches to the various bugs. Still waiting on a fix for the worst bug which is that the toggle state of custom fields is not recorded at all...

profiteroles1 avatar Feb 22 '24 21:02 profiteroles1