This jQuery script is a user interface enhancement. The script first takes the type of preferred payment the user wants to use and gives the correct form. If credit card is selected, the script will know what type of credit card the user is using based on the credit card number. Using this information, it will dynamically indicate to the user that the correct credit card type has been selected and will change a hidden field to that type. It will also show the correct cvv instructions depending on credit card.
READ MORE