diff --git a/app/Http/Controllers/StripeController.php b/app/Http/Controllers/StripeController.php index 4414844..658d80a 100644 --- a/app/Http/Controllers/StripeController.php +++ b/app/Http/Controllers/StripeController.php @@ -256,8 +256,8 @@ class StripeController extends Controller 'customer_address' => 'required|string', 'customer_city' => 'required|string', 'customer_country' => 'required|string|size:2', - 'customer_state' => 'required_if:customer_country,US|string|size:2', //Etat du pays dans lequel se trouve le client. Cette valeur est obligatoire si le client se trouve au États Unis d’Amérique (US) ou au Canada (CA) - 'customer_zip_code' => 'required_if:customer_country,US|string|size:5', +// 'customer_state' => 'required_if:customer_country,US|string|size:2', //Etat du pays dans lequel se trouve le client. Cette valeur est obligatoire si le client se trouve au États Unis d’Amérique (US) ou au Canada (CA) +// 'customer_zip_code' => 'required_if:customer_country,US|string|size:5', 'reason' => 'required|string' ]); @@ -389,8 +389,8 @@ class StripeController extends Controller 'customer_address' => 'required|string', 'customer_city' => 'required|string', 'customer_country' => 'required|string|size:2', - 'customer_state' => 'required_if:customer_country,US|string|size:2', //Etat du pays dans lequel se trouve le client. Cette valeur est obligatoire si le client se trouve au États Unis d’Amérique (US) ou au Canada (CA) - 'customer_zip_code' => 'required_if:customer_country,US|string|size:5', +// 'customer_state' => 'required_if:customer_country,US|string|size:2', //Etat du pays dans lequel se trouve le client. Cette valeur est obligatoire si le client se trouve au États Unis d’Amérique (US) ou au Canada (CA) +// 'customer_zip_code' => 'required_if:customer_country,US|string|size:5', 'reason' => 'required|string' ]);