@lat9
Got this payment module up and running smoothly, and thought it would be a good idea to add spaces when a customer starts typing in a credit card number, e.g with a mastercard if a customer types in the 16 digit card number, it automatically creates a blank space after each forth number, and with Amex where numbers are slightly different, the blank space are created where they should go.
Thought this to be a good idea, as it may confuse customers whether to type in the card number without spaces or not; but by having it automatically applied as they type confirms how the number should be entered.
Also, got the card logo to show for the card that's being used as well, once the first card digits get entered. This logo shows at the far right of the input box, at the end.
E.G: Customer uses a mastercard, as soon as they type the first 4 digits, a mastercard logo appears at the end of the input box.
Got this working; and wanted to know if this would be something that you'd like to push into a future update of the payment module?
If so; happy to provide a pull request, for this feature.
Kind Regards,
Andy


Reply With Quote
