rez1pro/lara-paypal 问题修复 & 功能扩展

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

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

rez1pro/lara-paypal

最新稳定版本:v1.0.3

Composer 安装命令:

composer require rez1pro/lara-paypal

包简介

A Laravel PayPal integration package

README 文档

README

lara-paypal is a simple and developer-friendly package to integrate PayPal payment processing into your Laravel application. This package supports subscriptions and payment processing through PayPal's API.

Table of Contents

Features

  • 🔌 Seamless integration with PayPal API
  • 🔄 Subscription management
  • 🏗️ Sandbox environment support
  • ⚡ Simple and intuitive API

Installation

composer require rez1pro/lara-paypal
  1. Add the following environment variables to your .env file:
LARA_PAYPAL_CLIENT_ID=your-paypal-client-id
LARA_PAYPAL_SECRET=your-paypal-secret
LARA_PAYPAL_MODE=sandbox # or live
LARA_PAYPAL_SUBSCRIPTION_CANCEL_CALLBACK=https://your-domain.com/cancel-callback
LARA_PAYPAL_SUBSCRIPTION_RETURN_CALLBACK=https://your-domain.com/return-callback
PAYPAL_INITIAL_PLAN_ID=your-plan-id # Required for subscriptions
  1. Publish the configuration file:
php artisan vendor:publish --provider="LaraPaypal\LaraPaypalServiceProvider"

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-07