If you want to delete an order with the "PayPal Express Checkout" payment method enabled and the uc_credit module disabled it will throw the following error:

PHP Fatal error: Class 'Drupal\\uc_credit\\CreditCardPaymentMethodBase' not found in ../ubercart/payment/uc_paypal/src/Plugin/Ubercart/PaymentMethod/PayPalWebsitePaymentsPro.php on line 21, referer: https://domain.com/admin/store/orders/2/delete


mathiasgmeiner created an issue. See original summary.

TR’s picture

Version: 8.x-4.0-alpha5 » 8.x-4.x-dev

I think this may be related to #2762119: Delete order with a payment

Cayenne’s picture

I have run into the same error. Looks like this dependency needs to be added in.