Skip to content

Magento 2.4.3 Customer has no any vault token save, but vault payment method appears in Admin checkout #33954

@jignesh-coder

Description

@jignesh-coder

Preconditions (*)

  1. Magento 2.4.3

Steps to reproduce (*)

  1. Go to Magento Admin panel
  2. Setup Braintree payment method and enable vault payment (Stores - Configuration - Sales - Payment Methods - Configure Braintree - Enable Card Payments and Enable Vault for Card )
  3. Reindex and Clear cache
  4. Admin - Sales - Orders - Create new Order - Create New Customer / or select any existing customer
  5. Add Products
    Payment Method section - Issue: "Stored Cards" Payment option is getting displayed
    In payment method section it show token payment
  6. Select the option and submit Order: Issue: "Order saving error: Public hash should be defined" error message is displayed to the user.
    Note: There is no issue on Front-end - "Stored Cards" payment option is not displayed for signed in user in Checkout page

Expected result (*)

  1. If customer has no token saved, than Vault Payment should not be shown in Payment section of Admin Order creation page

Actual result (*)

Order saving error: Public hash should be defined" error message is displayed to the user.
image

image

Even after saving the Card details - User cannot able to make payment from Admin using Stored Cards option
image

There is no issue on front-end - User is able to make payment using stored card and place Order - No issue
image


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • 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: PaymentsComponent: BraintreeIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.3Indicates 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

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions