Error message: Bambora payments requires the beanstream/beanstream library.

Created on 21 June 2025, 4 months ago

Problem/Motivation

Even though the beanstream/beanstream is installed, we still get this error when installing the module:

Error message
Bambora payments requires the beanstream/beanstream library.

I think this logic at bambora.install needs to be refactored/fixed:

  // All good if the library exists.
  if (class_exists('\Beanstream\Gateway')) {
    return [];
  }

  return [
    'bambora_library' => [
      'description' => t('Bambora payments requires the beanstream/beanstream library.'),
      'severity' => REQUIREMENT_ERROR,
    ],
  ];

Steps to reproduce

Install the bambora module.

Proposed resolution

Fix the logic above.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada danrod Ottawa

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024