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-20800 : User Cannot Cancel Recurring Payment With Paypal #10833

Merged
merged 1 commit into from
Aug 9, 2017

Conversation

monishdeb
Copy link
Member

Overview

The recurring contribution could not be cancelled.
However, if you are logged in and deselect "Notify Paypal" you are able to cancel the recurring payment. It only seems to fail when that box is checked.

Comments

It throws notice error on dblog as
Undefined index: payment_processor_type in CRM_Core_Payment_PayPalImpl->cancelSubscription() (line 663 of /var/www/html/sitename/sites/all/modules/civicrm/CRM/Core/Pa‌​yment/PayPalImpl.php‌​)

@colemanw colemanw merged commit bd32b52 into civicrm:4.7.24-rc Aug 9, 2017
@monishdeb monishdeb deleted the CRM-20800-rc branch August 9, 2017 19:09
@eileenmcnaughton
Copy link
Contributor

@monishdeb - this fix seems to make it so that a bad works a little bit better but it doesn't feel like a fix. It seems like we are in a path where we have the recurring contribution id so we must know the payment processor id & should be able to use a reliable function like getProcessorByID rather than this 'do you feel lucky punk' function

@eileenmcnaughton
Copy link
Contributor

(as an aside why was this against the rc - it doesn't look like a regression?)

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