alt text

Paypal Module

Module for Paypal payment functionality in the Trado Ecommerce platform. If you would like to get started using the Trado Ecommerce platform, head on over to the Official site!

Release notes

Installation

Add module to your Gemfile:

gem 'trado_paypal_module'

Then run bundle to install the Gem:

bundle install

Now generate migrations, create helpers, set up environment configurations and assign model concerns:

rails generate trado_paypal_module:install
bundle exec rake db:migrate

Assign Paypal sensitive data:

config/secrets.yml

development:
    transaction_link: "https://sandbox.paypal.com/cgi-bin/webscr?cmd=_view-a-trans&id="  
    paypal_login: [email protected]  
    paypal_password: 873264823432  
    paypal_signature: VUYWIUBDBDQowqdgiuwdowbqwbQDQJW6  
production:
    transaction_link: "https://sandbox.paypal.com/cgi-bin/webscr?cmd=_view-a-trans&id="  
    paypal_login: [email protected]  
    paypal_password: 873264823432  
    paypal_signature: VUYWIUBDBDQowqdgiuwdowbqwbQDQJW6  

(You can sign up for a PayPal developer account at the developer dashboard)

Restart the main application server:

foreman start -f Procfile.dev

Versioning

Trado PayPal module follows Semantic Versioning 2.0 as defined at http://semver.org.

How to contribute

  • Fork the project
  • Create your feature or bug fix
  • Add the requried tests for it.
  • Commit (do not change version or history)
  • Send a pull request against the development branch

Copyright (c) 2014 Tom Dallimore (@tom_dallimore)
Licenced under the MIT licence.