Eway\Rapid not found on attempted payment

Created on 30 December 2022, almost 2 years ago
Updated 15 November 2024, about 1 month ago

I'm on Drupal 9.4.8 with a single product store setup. When trying to process payment with live production credentials the site gives the error:

The website encountered an unexpected error. Please try again later.
Error: Class "Eway\Rapid" not found in Drupal\eway_gate\EwayTransactionManager->getClient() (line 122 of modules/contrib/eway_commerce2/src/EwayTransactionManager.php).
Drupal\eway_gate\EwayTransactionManager->getClient() (Line: 131)
Drupal\eway_gate\EwayTransactionManager->getAuthToken() (Line: 281)
Drupal\eway_gate\EwayTransactionManager->preAuthorizeTransaction() (Line: 277)
Drupal\eway_gate\Plugin\Commerce\PaymentGateway\Onsite->createPaymentMethod() (Line: 83)
Drupal\commerce_payment\PluginForm\PaymentMethodAddForm->submitConfigurationForm() (Line: 52)
Drupal\eway_gate\PluginForm\Onsite\PaymentMethodAddForm->submitConfigurationForm() (Line: 169)
Drupal\commerce_payment\Plugin\Commerce\InlineForm\PaymentGatewayForm->submitInlineForm() (Line: 159)
Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormBase::runSubmit()
call_user_func_array() (Line: 141)
Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormBase::doExecuteSubmitHandlers() (Line: 134)
Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormBase::doExecuteSubmitHandlers() (Line: 134)
Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormBase::doExecuteSubmitHandlers() (Line: 86)
Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormBase::executeElementSubmitHandlers()
call_user_func_array() (Line: 82)
Drupal\Core\Form\FormValidator->executeValidateHandlers() (Line: 275)
Drupal\Core\Form\FormValidator->doValidateForm() (Line: 118)
Drupal\Core\Form\FormValidator->validateForm() (Line: 588)
Drupal\Core\Form\FormBuilder->processForm() (Line: 320)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 219)
Drupal\Core\Form\FormBuilder->getForm() (Line: 143)
Drupal\commerce_checkout\Controller\CheckoutController->formPage()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 709)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Is there some configuration I am missing? I noticed the page at admin/config/services/eway doesn't have anything on its just a save configuration button and a couple of hidden fields.

Thanks,
Kit

🐛 Bug report
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

🇦🇺Australia aeski

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024