Sha256: 71221c71fdf3d4d80f730b33ac01b196ef7ab567a496578f3cc2cd9f8e35e393

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

# SpreePaypal

SpreePaypal is a gem that integrates PayPal's REST API with the Spree eCommerce platform. It creates a new PayPal payment method, supports the PayPal JavaScript SDK for frontend payment processing, and allows you to configure sandbox or live modes for testing and production.


## Installation

1. Add this line to your application's Gemfile:

    ```ruby
    gem 'spree_paypal', github: 'vitkx/spree_paypal', branch: 'master'
    ```

2. Install the gem by running:

    ```bash
    bundle install
    ```

3. Copy & run migrations

    ```bash
    bundle exec rails g spree_paypal:install
    ```

4. Restart your server


## Usage

After installation, configure PayPal by adding your `client_id`, `client_secret`, and sandbox settings in the Spree admin panel under **Payment Methods**.


## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/vitkx/spree_paypal.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_paypal-1.0.0 README.md
spree_paypal-0.1.2 README.md
spree_paypal-0.1.1 README.md
spree_paypal-0.1.0 README.md