app/Http/Helpers/BuyTickets.php
/**
     * Validate that we get Token and Email from Stripe
     */
Validate that we get Token and Email from Stripe
Validate that we get Token and Email from Stripe
private function isValidStripeRequest()
    {
        if (!$this->request->stripeToken || !$this->request->stripeEmail) {
            $this->has_error = true;
            $this->message = 'Missing arguments, the charge was cancelled';
            return false;
        }
        return true;
    }
private function isValidStripeRequest ( ) { if ( ! $ this -> request -> stripeToken || ! $ this -> request -> stripeEmail ) { $ this -> has_error = true ; $ this -> message = 'Missing arguments, the charge was cancelled' ; return false ; } return true ; }
Validate that we get Token and Email from Stripe
Validate that we get Token and Email from Stripe
/**
         * Make sure we get Response from Stripe
         */