credit-card icon indicating copy to clipboard operation
credit-card copied to clipboard

Credit Card Validation

Results 13 credit-card issues
Sort by recently updated
recently updated
newest added

Here is my validation 'expiry_input' => ['required', new CardExpirationDate('m/y')], For required i can set message at at laravel messages method but for another fields how i can set the message...

I'm trying to do like this: ``` return [ 'card.expirationDate' => ['required', new CardExpirationDate('MM\/YY')], // ... ]; ``` When the lib tun `passes()` method it runs inside and throw an...

I'm trying to use my card with the ELO mais flag, but it's wrongly invalidating the cvv.

Validation for the Hipercard card does not work

American Express cards only support 4-digit security codes. > Your credit card CVV code may not be in the same place on every credit card. If you have an American...

Is there a way to add custom messages in code without using translation? For example: ``` $rules = [ 'card_number' => ['required', new CardNumber], 'expiration_year' => ['required', new CardExpirationYear($request->input('expiration_month'))], 'expiration_month'...

The VisaElectron class doesn't have a brand. Here we rename the cleanName variable to brand variable

Hey, Thank you for the time and effort you put into putting this package together! I'm welling to contribute a working PR to support Laravel 10. Would you be down...

I can't give custom messages. public function rules() { $rules = [ 'card_number' => ['required', new CardNumber], 'expiry_year' => ['required', new CardExpirationYear($this->get('expiry_month'))], 'expiry_month' => ['required', new CardExpirationMonth($this->get('expiry_year'))], 'cvv' => ['required',...