#fubobull-stripe
1 messages · Page 1 of 1 (latest)
Hello! What is the exact commend you're using to install stripe? and what package does it say you're currently using?
sudo yum install -y stripe/stripe-cli/stripe
it is on Centos 7
Then I updated with sudo update -y stripe/stripe-cli/stripe
But it said no newer packages available
That's because you're installing the Stripe CLI, not our Stripe PHP library. You either need to be using composer (see https://github.com/stripe/stripe-php#composer) or install it manually (https://github.com/stripe/stripe-php#manual-installation)
You don't need to install the Stripe CLI to have a working integration - the CLI is mostly for testing
Is taht incorrect inforamtion?
This is the main problem. Your documentation is horrible
for stripe
They need to be more clear on stuff like this.
I did use composer
so now what?
I'm sorry it's been hard for you to navigate our docs - we do have a quickstart that walks through the steps to get started including installing the library
even the quick start sucks
it shows an example php script
but it is not complete
I know you are going to have to call autoload.php
but the quick start doesn't show that
it is just all bits and pieces that you have to figure out by guessing
It calls out that you need require_once('vendor/autoload.php'); in the link I shared with you earlier - https://github.com/stripe/stripe-php#composer
Our documentation makes the assumption that you have development experience, so most of the guidance is focused on how to actually use specific products/parts of our API.
I have been a programmer for 23 years, that is just a lame excuse
I followed the instructions, it states to run: composer require stripe/stripe-php
which i did
There's nothing lame about what my colleague said, it's fairly explicit
Now that we covered how to install the PHP library either via Composer or manually, what's the next question you have?
I already installed it. that is the point, it doesn't work
But apparently this will be fixed by insults
There's no insult though, we've been cordial, we're explaining that our docs don't cover installing a library as we assume this is something the developer is already familiar with
Focusing on the exact issue/error you are getting would be a lot easier. What exact is not working? Is this failing when you require the library itself?
cc @trail monolith