Contribution Pages with On Behalf of Organization profile enabled stop working in ESR 5.27.4 [Regression]
Upgrading from 5.21.3 (previous ESR) to 5.27.4 (current ESR).
To reproduce: Enable the checkbox "Allow individuals to contribute and / or signup for membership on behalf of an organization" in the Contribution Page settings:
Problem: Visit Contribution Page + do NOT select to make an On Behalf of Contribution - pick your amounts, fill in card details and then click Review Contribution button at the bottom of the form:
Nothing happens; no error message. Just a non-responsive button.
Digging in: opening up the On Behalf of Contribution (after clicking Review Contribution button and nothng happening):
Conclusion -> Province/State is required even if this On Behalf of section is hidden.
Quick Workaround: in Localization -> set a default Province.
Solution @seamuslee -> see https://chat.civicrm.org/civicrm/pl/ehfq919d4jb6mk4yfmmy13mtgr This fix was not backported to 5.27.x yet