/home/techb158/ileadtechnology.com/SSM/vendor/stripe/stripe-php/lib/ApiOperations
NameSizeModeActions
All.php11090644editdlrm
Create.php8360644editdlrm
Delete.php7340644editdlrm
NestedResource.php39940644editdlrm
Request.php24670644editdlrm
Retrieve.php7500644editdlrm
Update.php14460644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/stripe/stripe-php/lib/ApiOperations/Request.php (2467B)
100, " . "'currency' => 'usd', 'source' => 'tok_1234'])\")"; throw new \Stripe\Exception\InvalidArgumentException($message); } } /** * @param string $method HTTP method ('get', 'post', etc.) * @param string $url URL for the request * @param array $params list of parameters for the request * @param null|array|string $options * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return array tuple containing (the JSON response, $options) */ protected function _request($method, $url, $params = [], $options = null) { $opts = $this->_opts->merge($options); list($resp, $options) = static::_staticRequest($method, $url, $params, $opts); $this->setLastResponse($resp); return [$resp->json, $options]; } /** * @param string $method HTTP method ('get', 'post', etc.) * @param string $url URL for the request * @param array $params list of parameters for the request * @param null|array|string $options * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return array tuple containing (the JSON response, $options) */ protected static function _staticRequest($method, $url, $params, $options) { $opts = \Stripe\Util\RequestOptions::parse($options); $baseUrl = isset($opts->apiBase) ? $opts->apiBase : static::baseUrl(); $requestor = new \Stripe\ApiRequestor($opts->apiKey, $baseUrl); list($response, $opts->apiKey) = $requestor->request($method, $url, $params, $opts->headers); $opts->discardNonPersistentHeaders(); return [$response, $opts]; } }