nyehandel/omnipay-paypal

Omnipay support for PayPal checkout v2 api

1.1.0 2022-05-11 20:02 UTC

This package is auto-updated.

Last update: 2024-04-12 00:09:52 UTC


README

Omnipay is a framework agnostic, multi-gateway payment processing library for PHP. This package implements PayPal support for Omnipay.

Installation

Omnipay is installed via Composer. To install, simply require league/omnipay and omnipay/paypal with Composer:

composer require league/omnipay nyehandel/omnipay-paypal

Basic Usage The following gateways are provided by this package:

Loading in the Gateway

Omnipay::create("\Nyehandel\Omnipay\Paypal\RestGateway");

In addition to the above - you also get the omnipay/paypal Gateways

  • PayPal_Express (PayPal Express Checkout)
  • PayPal_ExpressInContext (PayPal Express In-Context Checkout)
  • PayPal_Pro (PayPal Website Payments Pro)
  • PayPal_Rest (Paypal Rest API)

For general usage instructions, please see the main Omnipay repository.