Closed ravinderk closed 5 years ago
Another user reported the same issue with offline donations. To reproduce:
{donation_history_link}
tag to the donation dreceipt email.Error!
@Benunc I reviewed the above issue and confirming that it will be fixed by https://github.com/impress-org/give/pull/4069
Note: I can reproduce same with subscriptions_link
email tag from recurring addon. I updated acceptance criteria of this issue.
Bug Report
User Story
As an admin, I want to resend receipt without any failure.
ref: https://secure.helpscout.net/conversation/796694823/35676?folderId=848135#thread-2266009265
Current Behavior
I am getting a fatal error when click on resend receipt.
Expected Behavior
Resend receipt without any fatal error.
Bug Type
Steps to Reproduce
{donation_history_link}
or{subscriptions_link}
[or both] email to receiptVisuals
Possible Solution
Above mentioned email tags use
Give_Email_Access
class in logic but after refactoring that class only available only on the frontend, so to prevent fatal error we can load this class as backward compatibility on specific resend receipt event [ either bulk or single]To prevent fatal error we can load this class for this email tag code. ref: https://github.com/impress-org/give/issues/3871
Acceptance Criteria
{donation_history_link}
email tag.{subscriptions_link}
email tag.