I'm trying to get a users email so it will update them when they purchased premium, I'm using Stripe as my payment system. The only way I can get it to work, is if I insert their email/id into my php page. I'm wanting the page to get the users email on it's on.

Code:
$_SESSION['user_id'] = 9;
 
$stripe = array(
	"secret_key" => "sk_test_rDYOBYxCErhrgGCeWQJhR4mQ",
	"publishable_key"
...