sammih / Stripe-payment

Integrating Stripe payment with laravel-cashier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stripe Docs

https://stripe.com/docs/payments/integration-builder

Set up the server

  • Install the stripe php library via the composer. composer require stripe/stripe-php

Laravel Cashier (Stripe)cashier

https://laravel.com/docs/8.x/billing#introduction

  • Install the Cashier package for stripe using composer package manager. composer require laravel/cashier

Billable Model https://laravel.com/docs/8.x/billing#billable-model

  • Before using Cashier, add the Billable trait to your billable model definition. use Billable;

Configure API Keys

https://laravel.com/docs/8.x/billing#api-keys

  • Next, you should configure your Stripe API keys in your application's .env file.

About

Integrating Stripe payment with laravel-cashier


Languages

Language:PHP 96.8%Language:Blade 2.2%Language:Shell 1.0%