PayPal payment module for LiBilling
Find a file
2026-07-08 21:09:35 +00:00
config initial commit 2026-07-08 21:09:35 +00:00
resources/lang initial commit 2026-07-08 21:09:35 +00:00
routes initial commit 2026-07-08 21:09:35 +00:00
src initial commit 2026-07-08 21:09:35 +00:00
tests/Feature initial commit 2026-07-08 21:09:35 +00:00
.gitattributes initial commit 2026-07-08 21:09:35 +00:00
.gitignore initial commit 2026-07-08 21:09:35 +00:00
CHANGELOG.md initial commit 2026-07-08 21:09:35 +00:00
composer.json initial commit 2026-07-08 21:09:35 +00:00
CONTRIBUTING.md initial commit 2026-07-08 21:09:35 +00:00
LICENSE.md initial commit 2026-07-08 21:09:35 +00:00
README.md initial commit 2026-07-08 21:09:35 +00:00

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 charges
  • checkout: PayPal Checkout flow
  • webhooks: 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.".