magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.48k stars 9.29k forks source link

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

Open bosskar231 opened 1 year ago

bosskar231 commented 1 year ago

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

m2-assistant[bot] commented 1 year ago

Hi @bosskar231. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

m2-assistant[bot] commented 1 year ago

Hi @engcom-Dash. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:


engcom-Dash commented 1 year ago

Hi @bosskar231 ,

Thanks for contribution and collaboration ! Verified the issue in 2.4.6 magento instance and the issue is reproducible in 2.4.6 magento instance,Hence we are confirming the issue.

Preconditions: magento version 2.4.6 PHP 8.1

Steps to reproduce:

Kindly refer the screenshots: 2.4.3-p2

Screenshot 2023-06-15 at 5 14 56 PM

2.4.6 instance

Screenshot 2023-06-15 at 3 56 09 PM Screenshot 2023-06-15 at 5 27 31 PM

Magento version 2.4.3-p2 Customer can place multi-shipping order with the disabled vault for card payments option in Braintree. But in latest 2.4.6 version . It seems mandatory to enable the value for card payments option to make multi-shipping checkout.

github-jira-sync-bot commented 1 year ago

Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Reproduced on 2.4.x, ^Area:.*

Once all required labels are present, please add Issue: Confirmed label again.

github-jira-sync-bot commented 1 year ago

Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Reproduced on 2.4.x, ^Area:.*

Once all required labels are present, please add Issue: Confirmed label again.

github-jira-sync-bot commented 1 year ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-9006 is successfully created for this GitHub issue.

m2-assistant[bot] commented 1 year ago

:white_check_mark: Confirmed by @engcom-Dash. Thank you for verifying the issue.
Issue Available: @engcom-Dash, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

github-jira-sync-bot commented 1 year ago

:x: Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-9006

bosskar231 commented 1 year ago

Hi, Any update on this.

bosskar231 commented 1 year ago

Hi, Any update on this. Can we get a patch.