Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

40 lines (22 loc) · 1.02 KB

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:

    gem 'spree_paypal', github: 'vitkx/spree_paypal', branch: 'master'
  2. Install the gem by running:

    bundle install
  3. Copy & run migrations

    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.