donordepot / com.donordepot.authnetecheck

CiviCRM Authorize.Net eCheck.Net Extension
GNU General Public License v3.0
2 stars 6 forks source link

Call to undefined method CRM_Core_Payment_AuthorizeNet::setBackOffice() #19

Open sleewok opened 7 years ago

sleewok commented 7 years ago

We are trying to get this extension working (CiviCRM 4.7.23, Drupal 7), but when we enable it our contribution pages fail to load and we get the following error related to setBackOffice(). It does not matter what payment processor we have setup, it fails even with DummyTest. If I disable the extension the error goes away.

`Call to undefined method CRM_Core_Payment_AuthorizeNet::setBackOffice() - /sites/all/modules/civicrm/CRM/Core/Payment/ProcessorForm.php:70

13 /sites/all/modules/civicrm/CRM/Core/Form.php:829 - CRM_Core_Payment_ProcessorForm::preProcess(CRM_Contribute_Form_Contribution_Main)

12 /sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Main.php:66 - CRM_Core_Form->preProcessPaymentOptions()

11 /sites/all/modules/civicrm/CRM/Core/Form.php:543 - CRM_Contribute_Form_Contribution_Main->preProcess()

10 /sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php:92 - CRM_Core_Form->buildForm()

9 /sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php:203 - CRM_Core_QuickForm_Action_Display->perform(CRM_Contribute_Form_Contribution_Main, 'display')

8 /sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php:103 - HTML_QuickForm_Controller->handle(CRM_Contribute_Form_Contribution_Main, 'display')

7 /sites/all/modules/civicrm/CRM/Core/Controller.php:351 - HTML_QuickForm_Page->handle('display')

6 /sites/all/modules/civicrm/CRM/Core/Invoke.php:310 - CRM_Core_Controller->run(Array[3], NULL)

5 /sites/all/modules/civicrm/CRM/Core/Invoke.php:84 - CRM_Core_Invoke::runItem(Array[15])

4 /sites/all/modules/civicrm/CRM/Core/Invoke.php:52 - CRM_Core_Invoke::_invoke(Array[3])

3 /sites/all/modules/civicrm/drupal/civicrm.module:448 - CRM_Core_Invoke::invoke(Array[3])

2 /includes/menu.inc:527 - civicrm_invoke('contribute', 'transact')

1 /index.php:21 - menu_execute_active_handler()`

sleewok commented 7 years ago

This also breaks CiviMember with this error when trying to add membership to a contact:

Call to undefined method CRM_Core_Payment_Manual::setBackOffice() in CRM_Core_Payment_Form::setPaymentFieldsByProcessor() (line 67 of /var/aegir/platforms/civicrm4/sites/all/modules/civicrm/CRM/Core/Payment/Form.php)

ryeradio commented 7 years ago

I am also getting this error. What do we need to do to fix it?

sleewok commented 7 years ago

From what I can tell the extension (in its current implementation) needs to be adapted to function the way it is described here: https://docs.civicrm.org/dev/en/latest/extensions/payment-processors/create/

sleewok commented 7 years ago

It would be great if we could get the dev to chime in on this. I'd like to know if it is going to be worked on, or if it is something that we will need to do.

JoshEpic commented 7 years ago

Unfortunately at this time we are not able to do any work to this extension. This project was originally built for a client, and it is not currently being maintained. If someone wants to take it upon themselves to remove the core payment override we can merge a pull-request.

ryeradio commented 7 years ago

Would there be a price we could pay to have this developed? Or is there anyway you can point me to what needs to be updated to get this working? We really need this function, and I am not sure where else to look to get it to work.

sleewok commented 7 years ago

FYI, we are working on updating the extension. I'm hoping we will have it updated within the next 2 weeks. I'll post back with a link when we have it done.

ryeradio commented 7 years ago

Thank you!!

ryeradio commented 6 years ago

Is there any progress on this update? Thank you so much for working on it!

joseltorres commented 6 years ago

+1 on this issue

Thanks for your work on this

JustinDMoore commented 6 years ago

+1

ryeradio commented 6 years ago

Has there been any process on this update?

calonmerc commented 6 years ago

Initial work on the fix is hosted on this fork: https://github.com/calonmerc/com.donordepot.authnetecheck