ErrorHelper is being called from the commerce_stripe module

Created on 9 January 2023, almost 2 years ago
Updated 20 June 2023, over 1 year ago

Problem/Motivation

The ErrorHelper class used inside PaymentRequestButtonCheckout.php and PaymentRequestButton.php is being called from the commerce_stripe module:
use Drupal\commerce_stripe\ErrorHelper;
This would cause issues especially since the module does not require the commerce_stripe module.

Proposed resolution

Use the Drupal\commerce_stripe_payment_request_button\ErrorHelper class provided in the module.

🐛 Bug report
Status

Fixed

Version

3.5

Component

Code

Created by

🇯🇴Jordan mhawwari

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