-
Notifications
You must be signed in to change notification settings - Fork 9.4k
not able to add payment method for placing order #2497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@arunkasyakar Thank you for reporting this. |
@ishakhsuvarov how to check the subtotal for the cart |
I just checked the subtotal in quote_address table its greater then 0 |
@arunkasyakar In the example above you are using different cartId in url and payload, could you please check that the correct cart id is present in url. |
sorry for above mistake but i am using the same cartId for both that is cartId: 142 |
@arunkasyakar could you please check that all methods you use are enabled? |
Fixed issues: - DEVOPS-232 Static Testing in Jenkins
when i am calling the api http://MYHOST/rest/default/V1/carts/142/selected-payment-method, with request data:
{
"cartId": "3",
"method": {
"method": "checkmo"
}
}
OR
{
"cartId": "3",
"method": {
"method": "banktransfer"
}
}
OR
{
"cartId": "3",
"method": {
"method": "cashondelivery"
}
}
i am getting the error:
{
"message": "The requested Payment Method is not available."
}
The text was updated successfully, but these errors were encountered: