M

Contact

For any request, please use this form:

  1. Do add a TLS certificate on your online shop, and add safety indicators to make your customers feel safe. (For valid reasons)
  2. Do use the standard fields' names to trigger the web browser's autocompletion : https://html.spec.whatwg.org/multipage/forms.html#autofill-field
  3. Do NOT split the card number entry field.
    Even if it's well intentioned, just don't.
    Because:

    However, you can visually format the card number depending on the BIN (See the Stripe jQuery.payment : https://github.com/stripe/jquery.payment).

  4. Do NOT use a dropdown / <select> menu for the card expiry.
    Keep in mind that not all cards expire after only 3 years, I've seen some of them valid for over 35 years, and you don't want to lose transactions by preventing cardholders to enter their card data.
  5. Do use <input type="tel"> for the card number and card CVV entry fields, which will cause the numeric keyboard to be displayed on mobile devices. I should add : <input type="numeric"> is NOT suited for this purpose.
  6. Do provide that new cards may use longer numbers, or longer CVV, then do not limit on a knife edge the maximum length of the fields concerned.
  7. Do try the Stripe jQuery.payment : https://github.com/stripe/jquery.payment to validate the fields of your payment form.

Warning

This is a preprod environment payment form, no actual bank movements will occur.

However, I cannot guarantee the confidentiality of banking information submitted on Codepen, therefore DO NOT use real bank card data, use instead one of these:

  • VISA: 4111 1111 1111 1111
  • MasterCard: 5111 1111 1111 1118
  • American Express: 3444 444444 44447
  • Bancontact: 67777777777777775

Any expiry date and any 3 digits cryptogram will be accepted.

See the Pen Be2bill hosted-fields demo (NF) by Alexis Riche (@alexisr) on CodePen.


Comments

Participate?

Please, let us take care with our writing, and let us be respectful and constructive.