veda-consulting / uk.co.vedaconsulting.payment.gocardlessdd

1 stars 7 forks source link

Test mode not supported? #18

Open xurizaemon opened 7 years ago

xurizaemon commented 7 years ago

Reviewing a site today which uses GoCardless. If I visit the "test" mode for a contribute page configured to use this payment processor, I see the following error:

Sorry but we are not able to provide this at the moment. A payment processor configured for this page might be disabled (contact the site administrator for assistance).

The backtrace is:

 CRM_Core_Exception: A payment processor configured for this page might be disabled (contact the site administrator for assistance). 
   in path/sites/all/modules/civicrm/CRM/Contribute/Form/ContributionBase.php on line 331

 Exception trace
 #  Function    Location
 0  CRM_Core_Form->assignPaymentProcessor('1')  
      path/sites/all/modules/civicrm/CRM/Contribute/Form/ContributionBase.php:331
 1  CRM_Contribute_Form_ContributionBase->preProcess()
      path/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Main.php:63
 2  CRM_Contribute_Form_Contribution_Main->preProcess()
      path/sites/all/modules/civicrm/CRM/Core/Form.php:543
 3  CRM_Core_Form->buildForm()
      path/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php:92
 4  CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Contribute_Form_Contribution_Main), 'display')
      path/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php:203
 5  HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_Contribution_Main), 'display')
      path/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php:103
 6  HTML_QuickForm_Page->handle('display')
      path/sites/all/modules/civicrm/CRM/Core/Controller.php:351
 7  CRM_Core_Controller->run(Array, null)
      path/sites/all/modules/civicrm/CRM/Core/Invoke.php:310
 8  CRM_Core_Invoke::runItem(Array)
      path/sites/all/modules/civicrm/CRM/Core/Invoke.php:84
 9  CRM_Core_Invoke::_invoke(Array)
      path/sites/all/modules/civicrm/CRM/Core/Invoke.php:52
10  CRM_Core_Invoke::invoke(Array)
     path/sites/all/modules/civicrm/drupal/civicrm.module:448
11  civicrm_invoke('contribute', 'transact')
     path/includes/menu.inc:527
12  menu_execute_active_handler()
     path/index.php:21
13  {main}

Are other users able to confirm whether or not this processor supports the "Test-drive" link on the contribution pages @ civicrm/admin/contribute or by appending &action=preview to the contribute / event page URL?

The processor's test mode credentials are configured with sandbox login, URL etc, and the entry in civicrm_payment_processor DB table seems legit.

xurizaemon commented 7 years ago