Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Stripe Stripe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 59
    • Issues 59
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • StripeStripe
  • Issues
  • #350

Closed
Open
Created Jan 02, 2022 by hesco@hesco

civicrm_api3_job_process_paymentprocessor_webhooks() function fails when invoking api4 class. Huh?

UPDATED (with drupal version and formatting) --

Seems a bit odd that a function called civicrm_api3_job_process_paymentprocessor_webhooks() would be looking for an api4 class to do its heavy lifting. Is something amiss with this latest update?

In the browser I see this, with or without the recurring contribution enabled by the anonymous user in the browser, Payment Processor Error message :getFieldValue failed.

$ vendor/bin/drush status | grep version
Drupal version   : 9.3.0 

$ vendor/bin/cv ext:list | grep stripe
| local    | com.drastikbydesign.stripe   | stripe                     | 6.6.3          | installed   |

$ vendor/bin/drush pm:list | grep stripe
Commerce (contrib)       Commerce Stripe (commerce_stripe)
Disabled   8.x-1.0-rc6  Stripe                   Stripe examples (stripe_examples)
Disabled   8.x-1.0  Stripe                   Stripe (stripe)
Disabled   8.x-1.0
Type 	php
Date 	Sunday, January 2, 2022 - 08:10
User 	admin
Location 	http://:/
Referrer 	
Message 	Error: Class 'Civi\Api4\PaymentprocessorWebhook' not found in civicrm_api3_job_process_paymentprocessor_webhooks() (line 34 of /opt/local/project_code/files/civicrm/ext/mjwshared/api/v3/Job/ProcessPaymentprocessorWebhooks.php)

#0 /opt/local/project_code/drupal/vendor/civicrm/civicrm-core/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_job_process_paymentprocessor_webhooks()
#1 /opt/local/project_code/drupal/vendor/civicrm/civicrm-core/Civi/API/Kernel.php(149): Civi\API\Provider\MagicFunctionProvider->invoke()
#2 /opt/local/project_code/drupal/vendor/civicrm/civicrm-core/Civi/API/Kernel.php(81): Civi\API\Kernel->runRequest()
#3 /opt/local/project_code/drupal/vendor/civicrm/civicrm-core/api/api.php(22): Civi\API\Kernel->runSafe()
#4 /opt/local/project_code/drupal/vendor/civicrm/civicrm-core/CRM/Core/JobManager.php(131): civicrm_api()
#5 /opt/local/project_code/drupal/vendor/civicrm/civicrm-core/CRM/Core/JobManager.php(63): CRM_Core_JobManager->executeJob()
#6 /opt/local/project_code/drupal/vendor/civicrm/civicrm-core/api/v3/Job.php(118): CRM_Core_JobManager->execute()
#7 /opt/local/project_code/drupal/vendor/civicrm/civicrm-core/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_job_execute()
#8 /opt/local/project_code/drupal/vendor/civicrm/civicrm-core/Civi/API/Kernel.php(149): Civi\API\Provider\MagicFunctionProvider->invoke()
#9 /opt/local/project_code/drupal/vendor/civicrm/civicrm-core/Civi/API/Kernel.php(81): Civi\API\Kernel->runRequest()
#10 /opt/local/project_code/drupal/vendor/civicrm/civicrm-core/api/api.php(22): Civi\API\Kernel->runSafe()
#11 phar:///opt/local/project_code/drupal/vendor/bin/cv/src/Command/ApiCommand.php(74): civicrm_api()
#12 phar:///opt/local/project_code/drupal/vendor/bin/cv/vendor/symfony/console/Command/Command.php(255): Civi\Cv\Command\ApiCommand->execute()
#13 phar:///opt/local/project_code/drupal/vendor/bin/cv/vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#14 phar:///opt/local/project_code/drupal/vendor/bin/cv/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#15 phar:///opt/local/project_code/drupal/vendor/bin/cv/src/Application.php(59): Symfony\Component\Console\Application->doRun()
#16 phar:///opt/local/project_code/drupal/vendor/bin/cv/vendor/symfony/console/Application.php(149): Civi\Cv\Application->doRun()
#17 phar:///opt/local/project_code/drupal/vendor/bin/cv/src/Application.php(26): Symfony\Component\Console\Application->run()
#18 phar:///opt/local/project_code/drupal/vendor/bin/cv/bin/cv(27): Civi\Cv\Application::main()
#19 /opt/local/project_code/drupal/vendor/bin/cv(14): require('phar:///opt/loc...')
#20 {main}

.
Severity 	Error
Hostname 	127.0.0.1
Operations
Edited Jan 02, 2022 by hesco
Assignee
Assign to
Time tracking