Remove State verification
This commit is contained in:
parent
434aea3295
commit
5384f747e2
|
@ -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'
|
||||
]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue