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
fix: unable to process donation when email access token expires #3886
Comments
@kevinwhoffman @DevinWalker As per the quick look on the issue, this is a rare scenario when a donor has email access token expired and then tried to donate. We are looking into it. However, no customer has reported such issue till date. |
Slack Call SummaryParticipants: @mehul0810 @kevinwhoffman |
fix: unable to process donation when email access token expires #3886
Hi all. Thanks in advance for any help. I'm trying to develop a custom plugin, and I'm seeing this issue appear when email access token expires. In further tracing what is gets submitted at the following line: givewp/includes/class-give-email-access.php Line 300 in a2bd355
I get the following data via For full details, within my plugin:
|
Hello @spartakb, I understand you are having an issue with email access tokens expiring. Given that the current issue is marked as Closed, we ask that you create a new GH Discussion for this conversation. This will allow us to better manage/record what is going on and also bring more attention into a solution. Feel free to reference the current issue in the discussion if you feel it may be related. |
Bug Report
User Story
As a user, I want to process the donations properly so that donors receive a consistent UX.
Currently, I'm unable to process a successful donation when a cookie generated via email access link is expired and we are using the same browser to process a donation. Then, the error notice for access token expired which should be shown on the email access page is restricting the donation to process successfully. Hence, this is a rare scenario. Check the error message in the screenshot below. Also, check the possible solution section and let me know your thoughts
Current Behavior
I'm unable to process donations using Stripe CC
Expected Behavior
We should be able to process donation without any errors.
Bug Type
Steps to Reproduce
give_nl
Possible Solution
We're already redirecting to the email access page asking for email which on submission creates a new cookie. Now, when the cookie is expired. I suggest removing the access token expired notice and unset the existing cookie which is expired to avoid this rare scenario from happening on the donation form page.
Visuals
Related
Acceptance Criteria
The text was updated successfully, but these errors were encountered: