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

CRM-21819 - Do not load 'Submit Credit Card Contribution' button if only pseudo-manual processor exists #11757

Merged
merged 1 commit into from
Mar 6, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Mar 4, 2018

Overview

Fixes a recent regression where the 'submit credit card' shows back office when it should not

Before

Submit credit card shows regardless of whether it works

After

Submit credit card only shows if it should

Technical Details

getPaymentProcessors has started to return the manual pay later processor so it evaluates to not empty when only the manual pay later processor exists. We need to change it so it only shows true if a true processor exists (a true processor being on that has an entry in civicrm_payment_processor table - it could be an instance of the Manual processor if people want to do offline recurring for manual payments)

Comments

Replaces #11743


@mattwire
Copy link
Contributor

mattwire commented Mar 5, 2018

@eileenmcnaughton Changes make sense.

@monishdeb
Copy link
Member

Tested, works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants