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

If paymentprocessor still uses doTransferCheckout/doDirectPayment trigger deprecated function warning #20384

Merged
merged 1 commit into from
May 23, 2021

Conversation

mattwire
Copy link
Contributor

Overview

Payment processor should override doPayment(). All core processors have now been converted. If not overridden trigger deprecated error before calling deprecated doTransferCheckout()/doDirectPayment().

Before

No deprecated warning if paymentprocessor implements doTransferCheckout/doDirectPayment.

After

Deprecated warning if paymentprocessor implements doTransferCheckout/doDirectPayment.

Technical Details

We added deprecated warnings into the actual functions on CRM_Core_Payment but these don't normally work because the payment processor extension overrides those functions.

Comments

@civibot
Copy link

civibot bot commented May 23, 2021

(Standard links)

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.

2 participants