Giter Site home page Giter Site logo

stripe's Introduction

Stripe: Killer Payment Processing + ??? = Profit

This repository holds the script, code and secrets to getting rich quick (hint: lottery) for the KnpUniversity Stripe Tutorial.

Setup

NOTE: Because this is an older tutorial, the code only works on PHP 7.3 and lower.

1) Install the vendor libs with Composer!

Download Composer either globally or right into this directory, and then (from this directory), run:

php composer.phar install

This will interactively ask you for some settings - like database_host. Fill those in. If you make a mistake - just modify app/config/parameters.yml afterwards!

If you get an error about "Unknown Database" - it's cool! Ignore it for now :)

2) Bootstrap the database

To get your database up and running, execute the following commands:

php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
php bin/console h:d:f:l

If you get any errors, check your database settings in app/config/parameters.yml.

3) Start your web server

We recommend using the built-in PHP web server. To start it, run:

php bin/console server:run

Then, load the site at:

http://localhost:8000

stripe's People

Contributors

weaverryan avatar bocharsky-bw avatar leannapelham avatar duboiss avatar sadikoff avatar mollokhan avatar

Stargazers

Oluwafemi Akinde avatar Valentin Harrang avatar Overseas Group Assetxcoin..com avatar

Watchers

 avatar Kevin Bond avatar  avatar Ghassem Tofighi avatar James Cloos avatar  avatar  avatar DELRIEUX Carine avatar  avatar  avatar

stripe's Issues

Building custom checkout form is outdated

I started watching this tutorial (which is great and fun :D) and I found that stripe docs has changed a bit, there is a new way to create your own custom forms by using Elements, it might be cool if we add a note or something mentioning this, because stripe's docs site changed it's desing, and it could be confusing for our users

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.