<p>I am using the Charge plugin and am not able to pass the customer name to Stripe. The form field name I am using is "customerName" and I have successfully done this in the past - it shows up in the Craft CP, but not in the Stripe account.</p>

<p>Anyone have any ideas?</p>

CC BY-SA 3.0
2016-10-01T20:36:04.083Z
As I indicated in the original post, I have successfully used "customerName" as the field name for the customer. After contacting Stripe Support (pretty awesome, BTW), they tell me the correct field name is "name" and much better to use the parameter stripe-data="name". That did the trick.
Roi Agneta
CC BY-SA 3.0
2016-11-30T14:42:18.833Z
@roiagenta do you know how to make the customerName a required field?
Terry Upton
CC BY-SA 3.0
2016-11-30T19:20:33.070Z
You can just add 'required' to the input - only supported on HTML5, but works like a charm! <input type="text name="customerName" required> Note there are no quotes around the required parameter
Roi Agneta
<plugins><plugin-charge>
Field name for customer name in Squarebit Charge for Stripe
# Field name for customer name in Squarebit Charge for Stripe

(Asked by: username_0 on 2016-09-29)

I am using the Charge plugin and am not able to pass the customer name to Stripe. The form field name I am using is "customerName" and I have successfully done this in the past - it shows up in the Craft CP, but not in the Stripe account.

Anyone have any ideas?

**Tags:** plugins, plugin-charge

> **Comments:**
> **username_0**: As I indicated in the original post, I have successfully used "customerName" as the field name for the customer. After contacting Stripe Support (pretty awesome, BTW), they tell me the correct field name is "name" and much better to use the parameter stripe-data="name". That did the trick.  
> **username_1**: @roiagenta do you know how to make the customerName a required field?  
> **username_0**: You can just add 'required' to the input - only supported on HTML5, but works like a charm! <input type="text name="customerName" required> Note there are no quotes around the required parameter  

---

## 0 answers

