When a Paypal donation is paid by direct debit, the success notification can take up to 7 days. With the current code in DoctrineDonationAuthorizer::canUpdateDonation the update would fail because the update token has expired. Proposed solution: add the parameter $ignoreExpiredToken to canUpdateDonation
Description
Description
Event Timeline
Comment Actions
@JeroenDeDauw Any other suggestions instead of using a parameter? Maybe another method canUpdateDonationwithExpiredToken?
Comment Actions
How about renaming canModifyDonation to userCanModifyDonation and adding a systemCanModifyDonation with the same signature?
Comment Actions
I like that idea. Much cleaner than parameters.
systemCanModifyDonation would then only check if the token matches and not if the token is expired.