PHPackages                             cognito/payum\_paypal\_rest - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. cognito/payum\_paypal\_rest

ActiveLibrary[Payment Processing](/categories/payments)

cognito/payum\_paypal\_rest
===========================

The Payum PayPal REST payment module

1.0.1(10mo ago)01.3k—0%MITPHP

Since Mar 30Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/joshbmarshall/payum_paypal_rest)[ Packagist](https://packagist.org/packages/cognito/payum_paypal_rest)[ Docs](https://payum.forma-pro.com)[ RSS](/packages/cognito-payum-paypal-rest/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

PayPal REST Payment Module
==========================

[](#paypal-rest-payment-module)

The Payum extension to purchase through PayPal using their REST interface

Install and Use
---------------

[](#install-and-use)

To install, it's easiest to use composer:

```
composer require cognito/payum_paypal_rest

```

### Getting the credentials

[](#getting-the-credentials)

According to the [PayPal Developer Documentation](https://developer.paypal.com/api/rest/)here's how to get your client ID and client secret:

- Select [Log in to Dashboard](https://developer.paypal.com/dashboard/) and log in or sign up.
- Select Apps &amp; Credentials.
- New accounts come with a Default Application in the REST API apps section. To create a new project, select Create App.
- Copy the client ID and client secret for your app.

### Build the config

[](#build-the-config)

```
