51ºÚÁϲ»´òìÈ

51ºÚÁϲ»´òìÈ 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

51ºÚÁϲ»´òìÈ 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 51ºÚÁϲ»´òìÈ 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

51ºÚÁϲ»´òìÈ 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 51ºÚÁϲ»´òìÈ for instructions.

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