Adobe Commerce 2.4.4: Unable to create partial invoices

Last update: 2023-07-27
  • Created for:
  • Developer

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:

  1. Open your Adobe Commerce website.
  2. Add a simple product to the cart (qty 2).
  3. Choose Apple Pay or Google Pay as the payment method from the shopping cart.
  4. Place the order.
  5. Open order details from the back-end.
  6. Create a partial invoice.
  7. 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.

On this page