Renamed the createCreditCard method to submitCreditCard