This PR fixes an issue where the logic for tiered donation price summary generation was never being run since it relied on no frequency input in the donation form for this layout.
We fix this by explicitly checking for a donation tier index value in the form data and if present running that logic first.
How to test the changes in this Pull Request:
As a logged out reader, with forced registration enabled select any donation value to trigger the auth modal with a price summary at the top.
Confirm the price summary is correct
Repeat the above steps for all three donation layout types (tiered, untiered, frequency) and for multiple frequencies and values
Other information:
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
All Submissions:
Changes proposed in this Pull Request:
Closes https://app.asana.com/0/1207817176293825/1208733956648866/1208751945335388/f
This PR fixes an issue where the logic for tiered donation price summary generation was never being run since it relied on no frequency input in the donation form for this layout.
We fix this by explicitly checking for a donation tier index value in the form data and if present running that logic first.
How to test the changes in this Pull Request:
Other information: