Notice: Undefined index: custom in /home/inject/public_html/module/Application/src/Application/Controller/StripeController.php on line 2547

Notice: Undefined offset: 1 in /home/inject/public_html/module/Application/src/Application/Controller/StripeController.php on line 2551

Notice: Undefined offset: 2 in /home/inject/public_html/module/Application/src/Application/Controller/StripeController.php on line 2553

Notice: Undefined offset: 3 in /home/inject/public_html/module/Application/src/Application/Controller/StripeController.php on line 2555

Notice: Undefined offset: 4 in /home/inject/public_html/module/Application/src/Application/Controller/StripeController.php on line 2557

Notice: Undefined offset: 5 in /home/inject/public_html/module/Application/src/Application/Controller/StripeController.php on line 2559

Notice: Undefined offset: 6 in /home/inject/public_html/module/Application/src/Application/Controller/StripeController.php on line 2561

Notice: Undefined offset: 7 in /home/inject/public_html/module/Application/src/Application/Controller/StripeController.php on line 2563

Notice: Undefined offset: 2 in /home/inject/public_html/module/Application/src/Application/Controller/StripeController.php on line 2567

Notice: Undefined index: email in /home/inject/public_html/module/Application/src/Application/Controller/StripeController.php on line 2651
Index Inject

An error occurred

An error occurred during execution; please try again later.


Additional information:

Stripe\Exception\InvalidRequestException

File:
/home/inject/public_html/vendor/stripe2/lib/Exception/ApiErrorException.php:38
Message:
You must provide one of `price` or `price_data` for each line item when using prices.
Stack trace:
#0 /home/inject/public_html/vendor/stripe2/lib/Exception/InvalidRequestException.php(35): Stripe\Exception\ApiErrorException::factory('You must provid...', 400, '{\n  "error": {\n...', Array, Object(Stripe\Util\CaseInsensitiveArray), NULL)
#1 /home/inject/public_html/vendor/stripe2/lib/ApiRequestor.php(213): Stripe\Exception\InvalidRequestException::factory('You must provid...', 400, '{\n  "error": {\n...', Array, Object(Stripe\Util\CaseInsensitiveArray), NULL, 'line_items[0]')
#2 /home/inject/public_html/vendor/stripe2/lib/ApiRequestor.php(175): Stripe\ApiRequestor::_specificAPIError('{\n  "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray), Array, Array)
#3 /home/inject/public_html/vendor/stripe2/lib/ApiRequestor.php(560): Stripe\ApiRequestor->handleErrorResponse('{\n  "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray), Array)
#4 /home/inject/public_html/vendor/stripe2/lib/ApiRequestor.php(124): Stripe\ApiRequestor->_interpretResponse('{\n  "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray))
#5 /home/inject/public_html/vendor/stripe2/lib/ApiOperations/Request.php(78): Stripe\ApiRequestor->request('post', '/v1/checkout/se...', Array, Array)
#6 /home/inject/public_html/vendor/stripe2/lib/ApiOperations/Create.php(25): Stripe\ApiResource::_staticRequest('post', '/v1/checkout/se...', Array, NULL)
#7 /home/inject/public_html/module/Application/src/Application/Controller/StripeController.php(2656): Stripe\Checkout\Session::create(Array)
#8 /home/inject/public_html/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): Application\Controller\StripeController->firstStripePayment3Action()
#9 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#10 /home/inject/public_html/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#11 /home/inject/public_html/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#12 /home/inject/public_html/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#13 /home/inject/public_html/vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#14 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#15 /home/inject/public_html/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#16 /home/inject/public_html/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#17 /home/inject/public_html/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#18 /home/inject/public_html/public/index.php(23): Zend\Mvc\Application->run()
#19 {main}