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

dev/core#1961 Fix regression - cancel button not working on recurring contributions #18204

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Aug 20, 2020

Overview

Fixes a regression introduced in 5.29 where the cancel button does not work, with some processors, for recurring contributions

Before

Button does nothing when clicked

After

Screen Shot 2020-08-20 at 11 17 14 PM

Technical Details

Note this form only shows for some processors. To test an easy way is to edit
CRM_Core_Payment::supportsCancelRecurring to always return FALSE

Then attempt to cancel a recurring contribution - the cancel button does not launch a form
without this.

Regression from
https://github.com/civicrm/civicrm-core/pull/17178/files#diff-63d76bd172c85725aaf2e76247b86354L11

https://lab.civicrm.org/dev/core/-/issues/1961

Comments

Regression affects 5.27, 5.28, 5.29

This behaviour may change again in #18196

@civibot
Copy link

civibot bot commented Aug 20, 2020

(Standard links)

@civibot civibot bot added the master label Aug 20, 2020
@eileenmcnaughton eileenmcnaughton changed the title dev/core#1961 Fix regression - cancel button not working on recurring… dev/core#1961 Fix regression - cancel button not working on recurring contributions Aug 20, 2020
@eileenmcnaughton eileenmcnaughton changed the base branch from master to 5.29 August 20, 2020 11:15
@civibot civibot bot added 5.29 and removed master labels Aug 20, 2020
… contributions

Note this form only shows for some processors. To test an easy way is to edit
CRM_Core_Payment::supportsCancelRecurring to return FALSE

Then attempt to cancel a recurring contribution - the cancel button does not launch a form
without this.

Regression from
https://github.com/civicrm/civicrm-core/pull/17178/files#diff-63d76bd172c85725aaf2e76247b86354L11

https://lab.civicrm.org/dev/core/-/issues/1961
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants