kamrul-haque/laravel-stripe-payment 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kamrul-haque/laravel-stripe-payment

最新稳定版本:v2.0.3

Composer 安装命令:

composer require kamrul-haque/laravel-stripe-payment

包简介

Add Stripe payment functionality with partial refund feature to your existing Laravel project. The package uses the latest stripe.js v3 and fully customizable to your need.

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License GitHub Repo stars

Add Stripe payment functionality with partial refund feature to your existing Laravel project. The package uses the latest stripe.js v3 and fully customizable to your need.

Installation

Install the package via composer:

composer require kamrul-haque/laravel-stripe-payment

Publish resources of the package:

php artisan vendor:publish --tag="laravel-stripe"

Migrate the necessary database tables:

php artisan migrate

Configuration

Set the Stripe Api Keys in .env:

// .env

STRIPE_PUBLIC_KEY=
STRIPE_SECRET_KEY=

Add routes to web.php:

// routes/web.php

<?php

use App\Http\Controllers as Controllers;
use Illuminate\Support\Facades\Route;

Route::group(['middleware' => 'auth'], function () {
    require __DIR__.'/stripe.php';
});

Usage

  • Access the checkout page by stripe-payments/create uri added to your application by the package
  • Access the payments completed and partial refund functionality by stripe-payments uri added to your application by the package

统计信息

  • 总下载量: 122
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固