Edit in GitHubLog an issue

Add vault to module dependencies

You need to add dependencies on the Magento_Vault module in the payment method's composer.json and module.xml files.

Example: adding Vault module dependencies for the Braintree payment method

app/code/Magento/Braintree/composer.json:

Copied to your clipboard
{
"name": "magento/module-braintree",
...
"require": {
...
"magento/module-vault": "100.1.*"
...
}
...
}

app/code/Magento/Braintree/etc/module.xml:

Copied to your clipboard
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_Braintree" setup_version="2.0.0">
<sequence>
...
<module name="Magento_Vault"/>
...
</sequence>
</module>
</config>
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.