diff --git a/app/Http/Requests/Client/StoreClientRequest.php b/app/Http/Requests/Client/StoreClientRequest.php index cea5c9ee22eb..3bda4d98fb38 100644 --- a/app/Http/Requests/Client/StoreClientRequest.php +++ b/app/Http/Requests/Client/StoreClientRequest.php @@ -138,6 +138,10 @@ class StoreClientRequest extends Request $input['country_id'] = $this->getCountryCode($input['country_code']); } + if(isset($input['shipping_country_code'])) { + $input['shipping_country_id'] = $this->getCountryCode($input['shipping_country_code']); + } + $this->replace($input); }