Skip to content
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: display the correct receipt on a links from the donation history page #3778 #3825

Merged
merged 63 commits into from
Nov 20, 2018

Conversation

mehul0810
Copy link
Contributor

Description

This PR resolves #3778

How Has This Been Tested?

I've tested this PR as per the acceptance criteria in the issue. Please check the video for more information.

Screenshots (jpeg or gifs if applicable):

Video Link: https://www.useloom.com/share/5be24b695a0342bc99efb68f4fc2e383

Types of changes

Bug fix (a non-breaking change which fixes an issue)

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows has proper inline documentation.

Copy link
Collaborator

@ravinderk ravinderk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mehul0810 Make changes to give_can_view_receipt function as we discussed over slack call.

@mehul0810
Copy link
Contributor Author

@ravinderk I've tested and fixed minor issues I found after merging latest pull and implementing suggested changes. Also, added a new video for the missed scenario in earlier video.

Video for "Confirm Email" Scenario.

https://www.useloom.com/share/0ce016f2e2c04d34913e8b722c2da754

@ravinderk
Copy link
Collaborator

@mehul0810

Email Access workflow is working fine for me on donation history page but not on the donation confirmation page:

image

Delaying the donation receipt placeholder ajax after all the conditional
checks will help donation receipt and email access functionality to
work properly
@mehul0810
Copy link
Contributor Author

@ravinderk To resolve the issue you mentioned on donation confirmation is due to early usage of get_receipt AJAX placeholder. So, I've used it after finalizing all the conditional checks.

Check commit: f1d0712

@ravinderk ravinderk merged commit ca04c23 into release/2.3.1 Nov 20, 2018
@ravinderk ravinderk deleted the issue/3778 branch November 20, 2018 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants