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
Add this line to your application's Gemfile:
gem 'spree_paypal', github: 'vitkx/spree_paypal', branch: 'master'
Install the gem by running:
bundle install
Copy & run migrations
bundle exec rails g spree_paypal:install
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.