An open API service indexing awesome lists of open source software.

https://github.com/deanpcmad/paypalrb

Ruby library for interacting with the PayPal v2 API
https://github.com/deanpcmad/paypalrb

hacktoberfest paypal ruby rubygem

Last synced: about 1 month ago
JSON representation

Ruby library for interacting with the PayPal v2 API

Awesome Lists containing this project

README

        

# PayPalRB

**This library is a work in progress**

PayPalRB is a Ruby library for interacting with the PayPal API.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'paypalrb'
```

## Usage

### Authentication

PayPal accepts authentication with either an access token or a client_id and client_secret.

This library has the ability to generate an access token like so:

```ruby
@authentication = PayPal::Authentication.new(
sandbox: true,
client_id: "",
client_secret: ""
)

@authentication.get_token
# => #