trado_paypal_module 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb0fc1e85e04eec3a1950232e9d16b9209263dba
4
- data.tar.gz: 2865fc5e70d08593d5fa176c9be02582f0fa73bc
3
+ metadata.gz: 6994774797490f1c9b8064484ee5444a0dfae26a
4
+ data.tar.gz: 18dbe00e0388f77f3d43a1086f155a2768b54830
5
5
  SHA512:
6
- metadata.gz: 9ce411a3afd6fd97697e65cb7d6f24c130d75b94da7b4326fafadaa5ac8e01db4f8d49a5310a39c7ec67978d961397ead41b8c34a58592f37193fe31baec63ee
7
- data.tar.gz: 388365d0b59ccfa689da49dc8876a12c2b226c31d1785e34af14f5dfdf3fe52707db304f98243bc2bf122775f224498d287ca7cb46549aca448f49a2c1ff20e2
6
+ metadata.gz: dc3ec614aca3b71b01e0440f084c3a2cac826c4e9acd243b9ed47accba382127193752c5b550bfb79401ea5de6a6e3fae74525561d83191987ae708e9a7f0950
7
+ data.tar.gz: fc1d1fef97b3392225be31224e53dd6d31e430faeaf777b504579ef72d5f8b59159b81ab883f58b9677277d0838100beec4f09ee6df867a43b2141312d740600
data/README.md ADDED
@@ -0,0 +1,69 @@
1
+ ![alt text](http://cdn0.trado.io/trado-promo/assets/img/cropped.png "Trado")
2
+
3
+ # Paypal Module
4
+ 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](http://www.trado.io/?utm_source=github&utm_medium=website&utm_campaign=trado)!
5
+
6
+ [Release notes](http://release.tomdallimore.com/projects/trado-paypal)
7
+
8
+ ## Installation
9
+
10
+ Add module to your Gemfile:
11
+
12
+ ```ruby
13
+ gem 'trado_paypal_module'
14
+ ```
15
+
16
+ Then run bundle to install the Gem:
17
+
18
+ ```sh
19
+ bundle install
20
+ ```
21
+
22
+ Now generate migrations, create helpers, set up environment configurations and assign model concerns:
23
+
24
+ ```sh
25
+ rails generate trado_paypal_module:install
26
+ bundle exec rake db:migrate
27
+ ```
28
+
29
+ Assign Paypal sensitive data:
30
+
31
+ **config/secrets.yml**
32
+
33
+ ```yaml
34
+ development:
35
+ transaction_link: "https://sandbox.paypal.com/cgi-bin/webscr?cmd=_view-a-trans&id="
36
+ paypal_login: me@example.com
37
+ paypal_password: 873264823432
38
+ paypal_signature: VUYWIUBDBDQowqdgiuwdowbqwbQDQJW6
39
+ production:
40
+ transaction_link: "https://sandbox.paypal.com/cgi-bin/webscr?cmd=_view-a-trans&id="
41
+ paypal_login: me@example.com
42
+ paypal_password: 873264823432
43
+ paypal_signature: VUYWIUBDBDQowqdgiuwdowbqwbQDQJW6
44
+ ```
45
+ *(You can sign up for a PayPal developer account at the [developer dashboard](https://developer.paypal.com))*
46
+
47
+ Restart the main application server:
48
+
49
+ ```sh
50
+ foreman start -f Procfile.dev
51
+ ```
52
+
53
+ ## Versioning
54
+
55
+ Trado PayPal module follows Semantic Versioning 2.0 as defined at
56
+ <http://semver.org>.
57
+
58
+ ## How to contribute
59
+
60
+ * Fork the project
61
+ * Create your feature or bug fix
62
+ * Add the requried tests for it.
63
+ * Commit (do not change version or history)
64
+ * Send a pull request against the *development* branch
65
+
66
+ ## Copyright
67
+ Copyright (c) 2014 [Tom Dallimore](http://www.tomdallimore.com/?utm_source=trado-paypal-module-github&utm_medium=website&utm_campaign=tomdallimore) ([@tom_dallimore](http://twitter.com/tom_dallimore))
68
+ Licenced under the MIT licence.
69
+
@@ -2,7 +2,7 @@ class TradoPaypalModule::IpnController < ApplicationController
2
2
  skip_before_action :authenticate_user!
3
3
 
4
4
  # TODO: Find out why this is throwing an error.
5
- include ActiveMerchant::Billing::Integrations
5
+ include OffsitePayments::Integrations
6
6
 
7
7
  # Handler for incoming Instant Payment Notifications from paypal about orders
8
8
  def update
@@ -1,3 +1,3 @@
1
1
  module TradoPaypalModule
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trado_paypal_module
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Dallimore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-29 00:00:00.000000000 Z
11
+ date: 2016-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - MIT-LICENSE
63
+ - README.md
63
64
  - Rakefile
64
65
  - app/controllers/trado_paypal_module/ipn_controller.rb
65
66
  - app/controllers/trado_paypal_module/paypal_controller.rb