We need to create Classes for flash application which will validate user input and creates token using our web service.
Here is how it should work
First of all there should be Card class
Card class should accept following parameters: cardNumber, cardCVV, cardMonth, cardYear.
aslo it should accept bunch of optional paramters such as
addressLine1, addressLine2, billingAddresLine1, zip, nameOnCard and so on
This class should have following methods: validateCardData which should validate all major card brands (Visa, MasterCard, American Express, JBC and Discover).
Aslo one more core class needs to be created:
CardApi. Which will have method createToken(Card card)
It should accept Card class as a parameter.
Please include word "kakashka" into your bid, so I can avoid scammers.
Logic of createToken class:
It should send all data to our web service (I will provide documentation to winner) as a result webservice rerurns a token which you should return from method.