# Accept a Payment

Build a simple checkout form to collect payment details. Included are some basic
build and run scripts you can use to start up the application.

## Running the sample

1. Build the server

~~~
composer install
~~~

2. Run the server

~~~
php -S 127.0.0.1:4242 -docroot=public
~~~

3. Go to [http://localhost:4242/public/checkout.html](http://localhost:4242/public/checkout.html)