A simple example on integrating Stripe payment gateway in laravel applications.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.env.example
.gitattributes
.gitignore
.project
artisan
composer.json
composer.lock
gulpfile.js
package.json
phpunit.xml
readme.md
server.php
yarn.lock

readme.md

Prerequisites

  • After cloning this repository, go to the root folder, run the following command/s,
        composer install
        composer update
  • Rename .env.example to .env
  • Run
    php artisan key:generate
  • Replace dummy stripe secret key with you original stripe test Secret key here \Stripe\Stripe::setApiKey ( 'sk_test_yourSecretkey' );in web.php file
  • Replace dummy stripe publishable key with you original stripe test publishable key at form's data attribute data-stripe-publishable-key="pk_test_yourPublishableKey"in welcome.blade.php file

Working Demo

You can see the demo of the project here

Reference Post

http://justlaravel.com/integrate-stripe-payment-gateway-laravel/