[Stripe] I want to require the cardholder's name from my customers

The extension doesn’t send the name on card to Stripe for processing, is it possible to send them that data?

{
  "id": "tok_19nU***********KHiNY65H8S",
  "object": "token",
  "card": {
    "id": "card_19n***********apxTcdn9",
    "object": "card",
    "address_city": null,
    "address_country": null,
    "address_line1": null,
    "address_line1_check": null,
    "address_line2": null,
    "address_state": null,
    "address_zip": null,
    "address_zip_check": null,
    "brand": "Visa",
    "country": "HK",
    "cvc_check": "unchecked",
    "dynamic_last4": null,
    "exp_month": 6,
    "exp_year": 2022,
    "funding": "credit",
    "last4": "9244",
    "metadata": {},
    "name": null,
    "tokenization_method": null
  },
  "client_ip": "218.***.***.170",
  "created": 14879923,
  "livemode": true,
  "type": "card",
  "used": false
}
1 Like

I have implemented it in the 1.7.2 version.

A new option has been added: «Require the cardholder’s name?».
By default it is disabled, you shoud enable it manually.

The frontend payment form:

The Stripe interface:

The Magento 2 backend interface:

A post was split to a new topic: Why have I got the «PHP Fatal error: Uncaught Magento\Framework\Exception\LocalizedException: Area code is not set»

Since the version 1.10.0, you can optionally prefill the cardholder’s name from the billing address: