MindfulLearner / php-oop-2

API logic behind pure js and pure php
0 stars 0 forks source link

PHP | Validate credit card expiration during payment #5

Closed MindfulLearner closed 1 month ago

MindfulLearner commented 1 month ago

Description: Before processing the payment, ensure that the credit card is valid and not expired. If the card is expired, throw a custom exception to inform the user.

MindfulLearner commented 1 month ago

done, but noturiig the ppament