php - Why am I receiving a 'Fatal Error: Class 'Stripe_Customer' not found' when I attempt to create a customer object? -


whenever attempt create customer object, presented error. have tried including file paths stripe library, might pointing incorrect path. portion of script error occurs:

function checkout()     {          error_reporting(e_all);          $success = '';         $error = '';          if(isset($_post['stripetoken'])) {          error_reporting(e_all);         $conn = dbconnection();         $stripetoken = $_post["stripetoken"];         $random_id2 = $_post["random_id2"];         $userid = get_current_user_id();          require_once('stripe/lib/stripe.php');                        $customer = stripe_customer::create(array(             "source" => $stripetoken,             "description" => "customer")         ); 


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -