Closed
Description
Preconditions (*)
- Magento 2.4.2
- Enable zero subtotal checkout
- Enable Check / Money order
Steps to reproduce (*)
- Create a product with price 0
- Add free product to cart
- Set a shipping and billing address
- Set freeshipping_freeshipping shipping method.
- Run graphql query:
query getCartDetails($cartId: String!) {
cart(cart_id: $cartId) {
available_payment_methods {
code
title
}
}
}
Expected result (*)
{
"data": {
"getCartDetails": {
"cart": {
"available_payment_methods": [
{
"code": "free",
"title": "No Payment Information Required"
}
],
}
}
}
}
Actual result (*)
{
"data": {
"getCartDetails": {
"cart": {
"available_payment_methods": [
{
"code": "free",
"title": "No Payment Information Required"
},
{
"code": "checkmo",
"title": "Check / Money order"
},
]
}
}
}
}
The Issue
If the order is free most other payment methods will break when trying to place the order. In the normal magento frontend this is handle by hiding all the other payment methods with javascript. Imo the other payment methods shouldn't be returned in the first place if they aren't going to work.
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
Labels
Type
Projects
Status
Done