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
- Host: GitHub
- URL: https://github.com/deanpcmad/paypalrb
- Owner: deanpcmad
- License: mit
- Created: 2022-10-15T10:22:24.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-30T10:02:38.000Z (about 2 years ago)
- Last Synced: 2025-03-25T17:07:51.671Z (about 2 months ago)
- Topics: hacktoberfest, paypal, ruby, rubygem
- Language: Ruby
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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
# => #