Skip to content

Commit a915787

Browse files
Rename DirectPayment to doPayment
1 parent ca59f17 commit a915787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CRM/Core/Payment/OmnipayMultiProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function doExpressCheckout(&$params) {
130130
* @return array
131131
* The result in an nice formatted array (or an error object)
132132
*/
133-
public function doDirectPayment(&$params, $component = 'contribute') {
133+
public function doPayment(&$params, $component = 'contribute') {
134134
$this->_component = strtolower($component);
135135
$this->ensurePaymentProcessorTypeIsSet();
136136
$this->gateway = Omnipay::create(str_replace('omnipay_', '', $this->_paymentProcessor['payment_processor_type']));

0 commit comments

Comments
 (0)