// Set your secret key: remember to change this to your live secret key in production // See your keys here https://manage.stripe.com/account Stripe::setApiKey("pk_live_KnBHb02zPCOcWp94LflUXeLh"); // Get the credit card details submitted by the form $token = $_POST['stripeToken']; $customer = Stripe_Customer::create(array( "card" => $token, "plan" => "linxboss", "email" => "erik@linxboss.com") );