Adobe Commerce 2.4.4: Unable to create partial invoices
This article provides a hotfix for the issue where users are not able to create partial invoices when using Apple Pay or Google Pay through Braintree as payment methods.
Affected products and versions
Adobe Commerce (all deployment methods) 2.4.4
Issue
When using Apple Pay or Google Pay as payment methods, users get the error “The ‘vault_capture’ command doesn’t exist. Verify the command and try again.” while creating partial invoices.
Steps to reproduce:
- Open your Adobe Commerce website.
- Add a simple product to the cart (qty 2).
- Choose Apple Pay or Google Pay as the payment method from the shopping cart.
- Place the order.
- Open order details from the back-end.
- Create a partial invoice.
- Create another invoice for the remaining amount.
Expected results:
Partial invoices are created.
Actual results:
The first partial invoice is created. While creating the second partial invoice, users get the following error: The ‘vault_capture’ command doesn’t exist. Verify the command and try again.
Cause
Adobe Commerce saves credit card details in the vault to create partial invoices. Currently, there is no functionality to vault Apple Pay and Google Pay.
Solution
To resolve the issue, apply the following patch:
Braintree_disabled_partial_capture_for_applepay_googlepay.zip
How to Apply the Patch
See How to apply a composer patch provided by Adobe for instructions.