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
:
app/code/Magento/Braintree/etc/module.xml
:
What’s next
Configure vault general parameters.