Ok then...while I didn't know the rules here, here's the answer:
Using the Stripe checkout.js
In your token
callback, you can access res.email
the same way you access res.id
which will give you the email that the user submitted. Here's the code:
var token = function(res){
var $theToken = $('<input type=hidden name=stripeToken />').val(res.id);
var $theEmail = $('<input type=hidden name=stripeEmail />').val(res.email);
$('form').append($theToken);
$('form').append($theEmail).submit();
};
You could also put them in an array and then use a
$.each(
But that would be as an exercise for you to use. Cheers, -Colin