Stripe 6.9 - PHP Fatal error: Uncaught Error: Class "Stripe\SKU" not found
While testing out the latest release on a contribution page with the following installation:
Wordpress 6.2.2 CiviCRM 5.58.1
we are seeing this error:
PHP Fatal error: Uncaught Error: Class "Stripe\SKU" not found in /wp-content/uploads/civicrm/ext/com.drastikbydesign.stripe/vendor/stripe/stripe-php/lib/Util/Util.php:46 Stack trace: #0 /wp-content/uploads/civicrm/ext/com.drastikbydesign.stripe/vendor/stripe/stripe-php/lib/BaseStripeClient.php(136): Stripe\Util\Util::convertToStripeObject(Array, Object(Stripe\Util\RequestOptions)) #1 (closed) /wp-content/uploads/civicrm/ext/com.drastikbydesign.stripe/vendor/stripe/stripe-php/lib/BaseStripeClient.php(173): Stripe\BaseStripeClient->request('get', '/v1/webhook_end...', Array, Object(Stripe\Util\RequestOptions)) #2 (closed) /wp-content/uploads/civicrm/ext/com.drastikbydesign.stripe/vendor/stripe/stripe-php/lib/Service/AbstractService.php(85): Stripe\BaseStripeClient->requestCollection('get', '/v1/webhook_end...', Array, NULL) #3 (closed) /wp-content/uploads/civicrm/ext/com.drastikbydesign.stripe/vendor/stripe/stripe-php/lib/Service/WebhookEndpointService.php(21): Stripe\Service\AbstractService->requestCollection('get', '/v1/webhook_end...', Array, NULL) #4 /wp-content/uploads/civicrm/ext/com.drastikbydesign.stripe/CRM/Stripe/Webhook.php(53): Stripe\Service\WebhookEndpointService->all(Array) #5 (closed) /wp-content/uploads/civicrm/ext/com.drastikbydesign.stripe/CRM/Stripe/Check.php(174): CRM_Stripe_Webhook->check(Array) #6 (closed) /wp-content/uploads/civicrm/ext/com.drastikbydesign.stripe/CRM/Stripe/Check.php(52): CRM_Stripe_Check->checkWebhooks() #7 (closed) /wp-content/uploads/civicrm/ext/com.drastikbydesign.stripe/stripe.php(175): CRM_Stripe_Check->checkRequirements() #8 (closed) /wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook.php(279): stripe_civicrm_check(Array, Array, false) #9 (closed) /wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook/WordPress.php(136): CRM_Utils_Hook->runHooks(Array, 'civicrm_check', 3, Array, Array, false, NULL, NULL, NULL) #10 (closed) /wp-content/plugins/civicrm/civicrm/Civi/Core/CiviEventDispatcher.php(314): CRM_Utils_Hook_WordPress->invokeViaUF(3, Array, Array, false, NULL, NULL, NULL, 'civicrm_check') #11 /wp-content/plugins/civicrm/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php(251): Civi\Core\CiviEventDispatcher::delegateToUF(Object(Civi\Core\Event\GenericHookEvent), 'hook_civicrm_ch...', Object(Civi\Core\UnoptimizedEventDispatcher)) #12 (closed) /wp-content/plugins/civicrm/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'hook_civicrm_ch...', Object(Civi\Core\Event\GenericHookEvent)) #13 (closed) /wp-content/plugins/civicrm/civicrm/Civi/Core/CiviEventDispatcher.php(260): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Civi\Core\Event\GenericHookEvent), 'hook_civicrm_ch...') #14 (closed) /wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook.php(167): Civi\Core\CiviEventDispatcher->dispatch('hook_civicrm_ch...', Object(Civi\Core\Event\GenericHookEvent)) #15 (closed) /wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook.php(2637): CRM_Utils_Hook->invoke(Array, Array, Array, false, NULL, NULL, NULL, 'civicrm_check') #16 (closed) /wp-content/plugins/civicrm/civicrm/CRM/Utils/Check.php(226): CRM_Utils_Hook::check(Array, Array, false) #17 (closed) /wp-content/plugins/civicrm/civicrm/CRM/Utils/Check.php(185): CRM_Utils_Check::checkStatus() #18 /wp-content/plugins/civicrm/civicrm/api/v3/System.php(137): CRM_Utils_Check::checkAll() #19 (closed) /wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_system_check(Array) #20 (closed) /wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(158): Civi\API\Provider\MagicFunctionProvider->invoke(Array) #21 (closed) /wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(81): Civi\API\Kernel->runRequest(Array) #22 (closed) /wp-content/plugins/civicrm/civicrm/api/api.php(22): Civi\API\Kernel->runSafe('System', 'check', Array) #23 (closed) /wp-content/plugins/civicrm/civicrm/CRM/Utils/REST.php(290): civicrm_api('System', 'check', Array) #24 (closed) /wp-content/plugins/civicrm/civicrm/CRM/Utils/REST.php(535): CRM_Utils_REST::process(Array, Array) #25 (closed) /wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(285): CRM_Utils_REST::ajax() #26 (closed) /wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(69): CRM_Core_Invoke::runItem(Array) #27 (closed) /wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(36): CRM_Core_Invoke::_invoke(Array) #28 (closed) /wp-content/plugins/civicrm/civicrm.php(1199): CRM_Core_Invoke::invoke(Array) #29 (closed) /wp-includes/class-wp-hook.php(308): CiviCRM_For_WordPress->invoke('') #30 (closed) /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #31 (closed) /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #32 (closed) /wp-admin/admin.php(259): do_action('toplevel_page_C...') #33 (closed) {main} thrown in /wp-content/uploads/civicrm/ext/com.drastikbydesign.stripe/vendor/stripe/stripe-php/lib/Util/Util.php on line 46