Make address postcode required #1059
Aslam97
started this conversation in
Feature Requests
Replies: 2 comments
-
Not all countries have postcodes. Probably needs more discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
if thats the case. i guess by removing /**
* Return the address rules for validation.
*
* @return array
*/
private function getAddressRules()
{
return [
'country_id' => 'required',
'first_name' => 'required',
'line_one' => 'required',
'city' => 'required',
'postcode' => 'required',
];
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
I dont get any error when making a payment with auto create order that provided from
authorize()
. this because i dont provide postcode in the address.Describe the solution you'd like
Make postcode in address required since
ValidateCartForOrder
required postcode to be fill.Beta Was this translation helpful? Give feedback.
All reactions