Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avinashn/stripeintegration_laravel

A simple example on integrating Stripe payment gateway in laravel applications.
https://github.com/avinashn/stripeintegration_laravel

laravel php stripe

Last synced: 2 months ago
JSON representation

A simple example on integrating Stripe payment gateway in laravel applications.

Awesome Lists containing this project

README

        

## 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/