Skip to content

[Bug]: Undeclared dependency with Magento_Paypal #3014

@jissereitsma

Description

@jissereitsma

Description

Undeclared dependency with Magento_Paypal

Steps to reproduce

The patch file \Adyen\Payment\Setup\Patch\Data\VaultMigration upgrades the table paypal_billing_agreement. But this table is only available if the module Magento_Paypal is enabled. In my case, the module was disabled and therefore the column method_code was never existing, which is caused a Fatal Error.

Because of this, the module Magento_Paypal should be added to etc/module.xml.

Actual behavior

A Fatal Error is thrown.

Expected behavior

No Fatal Errors.

Code snippet or screenshots (if applicable)

No response

Adyen Magento Plugin version

9.0.0

Magento version

2.4.7-p4

Operating System

None

Browser (if applicable)

No response

Additional context and logs

No response

Metadata

Metadata

Labels

Already fixedIndicates issue has been fixed in a more recent versionBug reportIndicates that issue has been marked as a possible bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions