efdevcon / pretix-attestation-placeholder-plugin

Pretix plugin to support placeholders for attestations
MIT License
2 stars 7 forks source link

change context to order #21

Closed ligi closed 3 years ago

ligi commented 3 years ago

context was changed from 'order' to 'position' - but this introduces a problem that we cannot send the attestation link to the attendees where order-creator-email == attendee email as: image

Nurts commented 3 years ago

Hi @ligi , I tried to change the context. But even though it works for the person who orders the tickets. Other attendees would also receive the same attestation link as the person who ordered, because I did not find a way to get the receivers email inside render function. Thus, I was thinking of creating another placeholder, with order context, which would only send the attestation link of the person who orders. Do you think this is a good idea?