ÃÛ¶¹ÊÓÆµ

ÃÛ¶¹ÊÓÆµ 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.

Description description

Environment

ÃÛ¶¹ÊÓÆµ 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 ÃÛ¶¹ÊÓÆµ 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

ÃÛ¶¹ÊÓÆµ Commerce saves credit card details in the vault to create partial invoices. Currently, there is no functionality to vault Apple Pay and Google Pay.

Resolution resolution

Solution

To resolve the issue, apply the following patch:

How to Apply the Patch

See How to apply a composer patch provided by ÃÛ¶¹ÊÓÆµ for instructions.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f