# How do you get Cartthrob to send the customer's info through the Stripe Payment Gateway?

We're using the Stripe Payment Gateway with Cartthrob and the payments are going through and it's working just fine. The only problem is that in the Stripe Dashboard the customer's name, address, and more is set as null.

So as I tried to locate the cause of the problem I looked at a few of the files, and the Cartthrob_stripe.php file seems to be where the problem is. It all lines up with the stripe.js documentation that they have, and it has the section that creates a token to see if it's cool to pass through, and then passes through that information. I think it's on the second pass after discovering that there is no error that it doesn't keep the customer's name & address info, and only sends through the essentials. But I can't test out my theories on how to fix this without making actual payments as Stripe in test mode doesn't send the information to the Stripe dashboard. So I won't know if what I did just worked or not.

I'm hoping to get either a solution to this or some tips on how I might properly test my theories. Any help is appreciated, and anyway that I can help with getting the solution together, let me know. Thank you

Looking at the code, CartThrob requires that you have the address info inside form inputs with specific IDs.

address_line1: CartthrobTokenizer.val("#address"),


This is a little odd to me, since unless you are using a single-page checkout, by the time you get to payment, the address info will likely only be displayed as plain text on screen, as it's been entered in earlier steps.

However, the easy way to fix this without hacking the CartThrob files is to simply add hidden inputs to your checkout form.

<input type="hidden" name="address" id="address" value="{customer_address}" />