Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/code4mk/lara-stripe

laravel stripe payment , billing , plan , subscription, coupon lara-stripe
https://github.com/code4mk/lara-stripe

laravel-payment laravel-stripe laravel-stripe-payment stripe stripe-php

Last synced: 7 days ago
JSON representation

laravel stripe payment , billing , plan , subscription, coupon lara-stripe

Awesome Lists containing this project

README

        

# LaraStripe
Laravel Stripe payment

# Installation

```bash
composer require code4mk/lara-stripe
```

# Setup

## vendor publish

```bash
php artisan vendor:publish --provider="Code4mk\LaraStripe\LaraStripeServiceProvider" --tag=config
```

## Set .env

```
STRIPE_PUBLIC_KEY=""
STRIPE_SECRET_KEY=""
STRIPE_SUCCESS_URL=""
STRIPE_CANCEL_URL=""
STRIPE_IS_PRODUCTION="true|false"
```

# Documentation

* [doc](https://github.com/code4mk/lara-stripe/tree/master/doc)
* [Charge doc](https://github.com/code4mk/lara-stripe/blob/master/doc/charge.md)
* [Checkout doc](https://github.com/code4mk/lara-stripe/blob/master/doc/payment-checkout.md)
* [Customer doc](https://github.com/code4mk/lara-stripe/blob/master/doc/customer.md)
* [Product doc](https://github.com/code4mk/lara-stripe/blob/master/doc/product.md)
* [Prices doc](https://github.com/code4mk/lara-stripe/blob/master/doc/prices.md)
* [Subscription doc](https://github.com/code4mk/lara-stripe/blob/master/doc/subscription.md)
* [Coupon doc](https://github.com/code4mk/lara-stripe/blob/master/doc/coupon.md)
* [promotion doc](https://github.com/code4mk/lara-stripe/blob/master/doc/promotion.md)

# Demo repo

* [lara-stripe-demo github](https://github.com/code4mk/lara-stripe-demo)

# Courtesy

* [stripe/stripe-php](https://github.com/stripe/stripe-php)
* https://jsfiddle.net/ywain/o2n3js2r/