-
Notifications
You must be signed in to change notification settings - Fork 10.7k
"Invalid Payment Method" for COD gateway #27682
Copy link
Copy link
Closed
Labels
BugThe issue is a confirmed bug.The issue is a confirmed bug.CheckoutIssues related to checkout page.Issues related to checkout page.needs: author feedbackThe issue/PR needs a response from any of the parties involved in the issue.The issue/PR needs a response from any of the parties involved in the issue.status: can't reproduceIssues that can't be reproduced.Issues that can't be reproduced.status: staleIssues that have no had any activity for some time.Issues that have no had any activity for some time.
Metadata
Metadata
Assignees
Labels
BugThe issue is a confirmed bug.The issue is a confirmed bug.CheckoutIssues related to checkout page.Issues related to checkout page.needs: author feedbackThe issue/PR needs a response from any of the parties involved in the issue.The issue/PR needs a response from any of the parties involved in the issue.status: can't reproduceIssues that can't be reproduced.Issues that can't be reproduced.status: staleIssues that have no had any activity for some time.Issues that have no had any activity for some time.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Prerequisites
Describe the bug
Latest version of WooCommerce v4.5.2 and COD Payment Method will throw an "Invalid Payment Method" error if/when billing_postcode field is unset; was not occuring with WooCommerce v4.4.1
Expected behavior
Allow COD Payment method to work without needing billing_postcode field to be set
Actual behavior
Having billing_postcode unset will cause an "Invalid payment method" validation error on checkout when selecting the COD payment method.
Steps to reproduce the bug
Isolating the problem