- PHP 100%
| config | ||
| resources/lang | ||
| routes | ||
| src | ||
| tests/Feature | ||
| .gitattributes | ||
| .gitignore | ||
| CHANGELOG.md | ||
| composer.json | ||
| CONTRIBUTING.md | ||
| LICENSE.md | ||
| README.md | ||
LiBilling PayPal Payment Gateway Module
A LiBilling payment gateway module for PayPal. Provides checkout, one-time charges, and webhook event processing through the PayPal Checkout SDK.
Features
- One-Time Charges: Single payment processing via PayPal
- PayPal Checkout: Hosted checkout flow
- Webhooks: PayPal webhook event processing
Installation
This package is loaded as a local Composer path repository. No separate installation is needed when developing within the LiBilling monorepo.
For standalone installation:
composer require libilling/libilling-paypal
Configuration
Add the following to your .env file:
PAYPAL_CLIENT_ID=your-client-id
PAYPAL_CLIENT_SECRET=your-client-secret
PAYPAL_SANDBOX=true
Publish the config file:
php artisan vendor:publish --tag=libilling-paypal
Capabilities
Declared via supports() using GatewayCapability constants:
charge: One-time PayPal chargescheckout: PayPal Checkout flowwebhooks: PayPal webhook event processing
Dependencies
paypal/paypal-server-sdk: PayPal Server SDK
Testing
vendor/bin/sail artisan test --filter=ModuleSystemTest
License
LiBilling is (C) Lithium Holdings, LLC. All components except for third-party modules and select packages with their own license are licensed under a Commercial License. Contact licensing@lithiumholdings.com for licensing enquiries. Any dissemination of material herein is prohibited without expressed written consent of Lithium Holdings.
This package, libilling-paypal is licensed under The MIT License (MIT). Please see License File for more information.
Is it any good?
Yes.
When people first hear about a new product, they frequently ask if it is any good. A Hacker News user remarked:
Note to self: Starting immediately, all raganwald projects will have a "Is it any good?" section in the readme, and the answer shall be "yes.".