Skip to content

Unable to checkout with braintree in multishipping with disabled vault for card payments. #37615

@bosskar231

Description

@bosskar231

Summary

Preconditions and environment
Upon upgrading our production site from M2.4.3-p2 to M2.4.6 we discovered customers were unable to checkout multishipping via Credit Card using the Braintree Payments extension V4.5.0 bundled in to M2.4.6 The cause was found to be the Enable Vault for Card Payments disabled on the Braintree.

Steps to reproduce
Fresh Install of M2.4.6 in environment as above
Login to backend

Nav to Admin>Stores>Configure>Sales>Payment Methods
Select Merchant Country as United States and Save Config
Configure Braintree Payments (by GENE Commerce v4.5.0)
Enter known valid sandbox credentials for Merchant ID, Public Key, Private Key and Validate Credentials
Disable Card Payments = Yes and Save Config
Flush Magento Cache

On Frontend, successfully Sign In using Demo Customer Access credentials
Add any product to cart
Proceed to Checkout with multiple addresses
Shipping Method select Fixed Flat Rate
Payment Method select Credit Card
Enter Card # 4111 1111 1111 1111 Expiration: 12/2023 Security Code: 123
Click blue "Place Order" button on review order page
Observe "spinner" appears for a moment and then automatically redirects to
Payment page with the error as Order Page Error.

Expected result:
Order should placed successfully

Actual result:
Getting error like "Order place error"

Examples

In previous Magento version 2.4.3-p1 Customer can place an multishipping order with the disabled vault for card payments option in braintree. But in latest 2.4.6 version . It seems they make it mandatory to enable the value for card payments option to make multishipping checkout.

Proposed solution

With the new approach to enable the vault for card payments for multishipping it also affects the normal checkout flow .Braintree is storing credit card details for normal checkout and placing an order in admin. Is it possible to revert back or could you please provide a patch.

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Admin UIComponent: BraintreeIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.4.6Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions