Stripe - collect payment information using tokenization

Stripe won’t accept payments :frowning:

This was the warning on submission of payment form:

Payment failed. Please try again.
Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see

Shortly thereafter a received an email from Stripe:

In order to process payments securely on Stripe, change your integration to collect payment information using tokenization. Tokenization ensures that no sensitive card data ever needs to touch your server.

So i guess my question is: How might we implement Tokenization?

See Stripe API not working in 1.5.5