-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ticket Email: Ticket Download not working. Wrong URL #6818
Comments
I will be working on it. |
@kushthedude i may be wrong but this appears to be server issue. |
@abhiandthetruth Are you willing to work on this? |
Nope it's open |
Will fix this. |
All the best.
…On Wed, Feb 5, 2020, 7:48 PM Sai Charan ***@***.***> wrote:
@abhiandthetruth <https://github.com/abhiandthetruth> Are you willing to
work on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6818?email_source=notifications&email_token=ALNBECOEJQJRZY64KPKUZJLRBLDEHA5CNFSM4KQKSRT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK3SRUY#issuecomment-582428883>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALNBECPJOG67GY3FYD5RMSDRBLDEHANCNFSM4KQKSRTQ>
.
|
@iamareebjamal @mariobehling If the user can access the ticket via a link, it would bring us back to this issue #5608 |
As the tickets are already attached, I don't think it's necessary for the link. If there was any error and the tickets/invoice could not be sent to the user, we could point them to eventyay.com so that they could download it. Similar to the pre-existing system mail for
|
The pdf link should still work. It won't lead to the above issue because of your PR itself |
Alright
…On Wed, 5 Feb 2020 at 8:50 PM, Areeb Jamal ***@***.***> wrote:
The pdf link should still work. It won't lead to the above issue because
of your PR itself
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6818?email_source=notifications&email_token=AGAHUW7SCK3TWHE5OXMEE23RBLKNJA5CNFSM4KQKSRT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK3ZYNI#issuecomment-582458421>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGAHUW3IPN3TGRSN43XCGEDRBLKNJANCNFSM4KQKSRTQ>
.
|
The current link which is being stored would've had no errors if the files had been stored in static/templates(where flask looks to serve static files like these). But all our tickets are at @iamareebjamal What do you suggest as a plausible solution? I was wondering if we could create an exclusive |
It was already created by you only |
Thinking about this again, you are right @mrsaicharan1. This can not work without it being accessible to the general public. @mariobehling It will either be available to anyone with the link or it'll throw an error for the user. There is no way to know who the user is with just the link of the PDF. So what should be done? We can either remove the link from the email and users can go to frontend to see the ticket. Or, we can allow it to be accessed by anyone who has the link |
Best would be to provide a request for the user to login. The first step is to send the tickets by email and dont send the link in the confirmation email as a quick fix. We can simply say "Your ticket is enclosed. You can also download in the My ticket section in your account." |
@mariobehling Ticket attachments are already being sent. So that's covered. I'll add the request for the user to login. |
The ticket download email comes with a wrong URL to something like "https://api.eventyay.com/generated/tickets/orders/tickets/pdf/9bdedaa....".
It results in a page: "Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."
The text was updated successfully, but these errors were encountered: