#vivek-subscription-local
1 messages · Page 1 of 1 (latest)
vivek-subscription-local
Hey @misty spoke we recommend starting with https://stripe.com/docs/billing/quickstart
Thank you for answer. But have a question.
I go to this page and download full app option. Need to download that?
or pages mentioned on right side?
It's just a demo, so yes you choose the language/stack you want to use and download the sample app
or you write the code as we explain it, it's really simple when using Checkout
let me try language sample code
only need to download code and run on localhost or need to change anything in code?
there's a readme that you should read carefully and it explains what to do
ok
i checked read me file but sorry did not understand
- Build the server
composer install
All good, take some time to read carefully and familiarize yourself with the code and what it does. Don't just rush through it
please guide me how to install libraries. Nothing mentioned in read me file for this
it does explain, it's the part you quoted
1. Build the server
~~~
composer install
~~~
2. Run the server
~~~
php -S 127.0.0.1:4242 --docroot=public
~~~```
If you have never used Composer, I'd recommend reading https://getcomposer.org/ first which explains how it works.
Usually it's a tool you install on your machine so that you can use composer install in your terminal/shell/console
Thank you for information. Will check above link
awesome!
One question, any other option to download libraries and copy in directory?
https://github.com/stripe/stripe-php#manual-installation
but make sure to change how you include the library. The sample app you downloaded expects Composer. So you have to change to require_once('/path/to/stripe-php/init.php');